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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?