node-module-boilerplate

启动创建 Node.js 模块的模板。「Boilerplate to kickstart creating a Node.js module」

Github星跟踪图

node-module-boilerplate

Boilerplate to kickstart creating a Node.js module

This is what I use for my own modules.

Also check out node-cli-boilerplate.

Getting started

Click the "Use this template" button.

Alternatively, create a new directory and then run:

curl -fsSL https://github.com/sindresorhus/node-module-boilerplate/archive/main.tar.gz | tar -xz --strip-components=1

There's also a Yeoman generator.


Remove everything from here and above


unicorn-fun

My awesome module

Install

npm install unicorn-fun

Usage

import unicornFun from 'unicorn-fun';

unicornFun('unicorns');
//=> 'unicorns & rainbows'

API

unicornFun(input, options?)

input

Type: string

Lorem ipsum.

options

Type: object

postfix

Type: string
Default: 'rainbows'

Lorem ipsum.

主要指标

概览
名称与所有者sindresorhus/node-module-boilerplate
主编程语言JavaScript
编程语言JavaScript (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2015-03-14 05:47:45
推送于2024-08-24 11:39:49
最后一次提交
发布数0
用户参与
星数740
关注者数14
派生数74
提交数44
已启用问题?
问题数10
打开的问题数1
拉请求数9
打开的拉请求数0
关闭的拉请求数8
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?