[go: up one dir, main page]

pixiv2aozora

0.5.0 • Public • Published

pixiv2aozora

Build Status Bower npm

Convert pixiv-Novel text into Aozora-style text

No time to learn, Just use!

node.js

$ npm install pixiv2aozora
var pixiv2aozora = require('pixiv2aozora');
pixiv2aozora('[[rb:青空>あおぞら]]'); // -> "|青空《あおぞら》""

Browser

<script src="dist/pixiv2aozora.min.js"></script>
<script>
    pixiv2aozora('[chapter:使徒、[[rb:襲来>しゅうらい]]]');
        // -> "[#大見出し]使徒、|襲来《しゅうらい》[#大見出し終わり]"
</script> 

Command

$ npm install pixiv2aozora -g
$ pixiv2aozora --help

  Usage: cli [options] <file>

  Convert pixiv-Novel text into Aozora-style text

  Options:

    -h, --help                    output usage information
    -V, --version                 output the version number
    -o, --output <file>           Write output to <file> instead of stdout
    --input-encoding <encoding>   Specify encoding to read from input. Defaults to utf8
    --output-encoding <encoding>  Specify encoding to write to output. Defaults to utf8

Dependencies (3)

Dev Dependencies (15)

Package Sidebar

Install

npm i pixiv2aozora

Weekly Downloads

1

Version

0.5.0

License

MIT

Last publish

Collaborators

  • hakatashi