项目
在 GitHub 查看
sindresorhus/node-module-boilerplate
关于
用于快速开始创建 Node.js 模块的样板代码。
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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
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.
探索相关项目
加载中…