@node-novel/normalize
TypeScript icon, indicating that this package has built-in type declarations

1.0.33 • Public • Published

@node-novel/normalize

normalize file name for sort

install

npm install @node-novel/normalize

demo

import { normalize_strip, normalize_val } from '@node-novel/normalize';

let text = '00090_2章 不希望獨占的日子結束的面具工薪族版.txt';

console.log(normalize_strip(text));
// => 2章 不希望獨占的日子結束的面具工薪族版.txt

console.log(normalize_val(text));
// => 00090_00002章_不希望独占的日子結束的面具工薪族版.txt

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.33
    998
    • latest

Version History

Package Sidebar

Install

npm i @node-novel/normalize

Weekly Downloads

1,210

Version

1.0.33

License

ISC

Unpacked Size

17.4 kB

Total Files

6

Last publish

Collaborators

  • bluelovers