node-module-boilerplate

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

Github stars Tracking Chart

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.

Main metrics

Overview
Name With Ownersindresorhus/node-module-boilerplate
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2015-03-14 05:47:45
Pushed At2024-08-24 11:39:49
Last Commit At
Release Count0
用户参与
Stargazers Count738
Watchers Count14
Fork Count75
Commits Count44
Has Issues Enabled
Issues Count10
Issue Open Count1
Pull Requests Count9
Pull Requests Open Count0
Pull Requests Close Count8
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private