UNPKG

1.22 kBMarkdownView Raw
1# ybiq
2
3[![npm](https://img.shields.io/npm/v/ybiq.svg)](https://www.npmjs.com/package/ybiq)
4[![node](https://img.shields.io/node/v/ybiq.svg)](https://github.com/ybiquitous/ybiq)
5[![MIT License](https://img.shields.io/github/license/ybiquitous/ybiq.svg)](LICENSE)
6[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
7[![Changelog](https://img.shields.io/badge/changelog-here-blue.svg)](CHANGELOG.md)
8
9Useful command-line tools for Node.js project.
10
11## Table of Contents
12
131. [Install](#install)
142. [Usage](#usage)
15 1. [CLI](#cli)
16 2. [API](#api)
173. [LICENSE](#license)
18
19## Install
20
21```sh
22npm install --save-dev ybiq
23```
24
25In addition, if you want to use [`eslint-config-ybiquitous`](https://npm.im/eslint-config-ybiquitous),
26please run another install command.
27
28```sh
29npm install --save-dev eslint-config-ybiquitous
30```
31
32## Usage
33
34### CLI
35
36For details, please show help.
37
38```sh
39ybiq --help
40```
41
42#### `ybiq init`
43
44Setup npm project.
45
46### API
47
48```js
49const ybiq = require("ybiq");
50
51ybiq.init({
52 // Default options
53 // cwd: process.cwd(),
54 // logger: msg => process.stdout.write(msg),
55});
56```
57
58## License
59
60[MIT](LICENSE) © Masafumi Koba