@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

Package Sidebar

Install

npm i @node-novel/normalize

Weekly Downloads

496

Version

1.0.33

License

ISC

Unpacked Size

17.4 kB

Total Files

6

Last publish

Collaborators

  • bluelovers