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 |
|
9 | Useful command-line tools for Node.js project.
|
10 |
|
11 | ## Table of Contents
|
12 |
|
13 | 1. [Install](#install)
|
14 | 2. [Usage](#usage)
|
15 | 1. [CLI](#cli)
|
16 | 2. [API](#api)
|
17 | 3. [LICENSE](#license)
|
18 |
|
19 | ## Install
|
20 |
|
21 | ```sh
|
22 | npm install --save-dev ybiq
|
23 | ```
|
24 |
|
25 | In addition, if you want to use [`eslint-config-ybiquitous`](https://npm.im/eslint-config-ybiquitous),
|
26 | please run another install command.
|
27 |
|
28 | ```sh
|
29 | npm install --save-dev eslint-config-ybiquitous
|
30 | ```
|
31 |
|
32 | ## Usage
|
33 |
|
34 | ### CLI
|
35 |
|
36 | For details, please show help.
|
37 |
|
38 | ```sh
|
39 | ybiq --help
|
40 | ```
|
41 |
|
42 | #### `ybiq init`
|
43 |
|
44 | Setup npm project.
|
45 |
|
46 | ### API
|
47 |
|
48 | ```js
|
49 | const ybiq = require("ybiq");
|
50 |
|
51 | ybiq.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
|