node-module-quick-start
v0.0.1
Published
Template for new Node modules
Downloads
2
Readme
node-module-quick-start
Template for creating new
node_modules
Looking to publish a new Node.js module? Start here!
Installation
Via GitHub clone
[email protected]:cezaraugusto/node-module-quick-start.git
Via GitHub "Use this template" feature
- Click the big green "Use this template" button
- Replace
Cezar Augusto
with your name - Replace
cezaraugusto
with your username - Replace
[email protected]
with your email - Replace
https://cezaraugusto.net
with your URL - Replace
node-module-quick-start
with your module name - 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.