1.3.0 • Published 4 years ago

nonnoun v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

non noun

CI test

名詞を隠して置き換えるライブラリ,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

Twitter Follow MIT License Donate

1.3.0

4 years ago

1.2.2

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago