An open API service indexing awesome lists of open source software.

https://github.com/naturalcycles/generator-nodejs-lib

Yeoman generator to create a Node.js lib
https://github.com/naturalcycles/generator-nodejs-lib

lib nodejs yeoman-generator

Last synced: about 2 months ago
JSON representation

Yeoman generator to create a Node.js lib

Awesome Lists containing this project

README

        

## @naturalcycles/generator-nodejs-lib

> Yeoman generator to create a Node.js lib

[![npm](https://img.shields.io/npm/v/@naturalcycles/generator-nodejs-lib/latest.svg)](https://www.npmjs.com/package/@naturalcycles/generator-nodejs-lib)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

# Global setup

You need to have latest [yeoman](https://github.com/yeoman/yo) globally installed, install it like
this:

```shell
npm i -g yo
yo --version
```

Then, globally-install this generator:

```shell
npm i -g @naturalcycles/generator-nodejs-lib
```

# Usage

mkdir my-lib
cd my-lib
yo

Then, select the needed generator and run it there!

# Debug

mkdir tmp/test-project
cd tmp/test-project
yo @naturalcycles/nodejs-lib