Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

node-module-boilerplate

> 包管理
Open source

Boilerplate to kickstart creating a Node.js module

744 stars0 likes3 views
WebsiteGitHub

About

Boilerplate to kickstart creating a Node.js module

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:

bash
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

bash
npm install unicorn-fun

Usage

javascript
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.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptnode-boilerplatenode-modulenodejsnpm-package

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category包管理
PricingOpen source

> Related tools

N
npm
Node.js 默认包管理器
P
pnpm
高效节省磁盘的 Node 包管理器
I
is-gif
Check if a Buffer/Uint8Array is a GIF image