Skip to content

cezaraugusto/node-module-quick-start

Repository files navigation

node-module-quick-start workflow npm

Template for creating new node_modules

Looking to publish a new Node.js module? Start here!

Installation

Via GitHub clone

git@github.com:cezaraugusto/node-module-quick-start.git

Via GitHub "Use this template" feature

  1. Click the big green "Use this template" button
  2. Replace Cezar Augusto with your name
  3. Replace cezaraugusto with your username
  4. Replace boss@cezaraugusto.net with your email
  5. Replace https://cezaraugusto.net with your URL
  6. Replace node-module-quick-start with your module name
  7. HAVE FUN!

Via npm

Alternatively, you can install this module as-is and hack from there

# node_modules/node-module-quick-start will include this repo
npm install node-module-quick-start

Usage

This repo includes a sample program:

const sleepySays = require('./node-module-quick-start')

sleepySays('hello!') // ( o ‿ ~ ✿) hello!

// When sleepy is sleeping

sleepySays('hello!', true) // (◡ ‿ ◡ ✿) zZZz

API

sleepySays(say, isSleepySleeping?)

say

Type: string

isSleepySleeping

Type: boolean
Default: false

License

MIT (c) Cezar Augusto.

About

Template for new Node modules.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published