1.3.0 • Published 4 years ago
nonnoun v1.3.0
non noun
名詞を隠して置き換えるライブラリ,CLIツール
Usages
CLI
$ npm install --global nonnoun
$ nonnoun --help
Usage
$ nonnoun <text> [query]
Examples
$ nonnoun 吾輩は猫である
■■は■である
$ nonnoun 吾輩は猫である -p ▲
▲▲は▲である
$ nonnoun 吾輩は猫である -p ▲,■,●
●■は▲である
Packages
$ npm install nonnoun
import { exchanging } from "nonnoun";
exchanging({ text: "吾輩は猫である" }).then((result) => {
console.log(result)
// => ■■は■である
})
API
exchanging(options: {text:string, pack?:string[]=["■"]}) => Promise<string>
License
MIT ©ivgtr