All Projects → GitbookIO → normall

GitbookIO / normall

Licence: Apache-2.0 License
Normall: normalize filenames, accents etc ... in JS

Programming Languages

javascript
184084 projects - #8 most used programming language

NormALL - Normalize all things !

JS library to normalize filenames, usernames, ...

normall(str)

Apply basic normalization: latenize then strip ascii then trim

normall.filename(str)

Normalize str for use in filename: base then strip illegal filename chars then " " => "_"

:Warning: This does not expect extensions, and normalizes the "name" part of the filename

normall.ascii(str)

Strips non ascii chars from string

normall.latenize(str)

Converts all non latin characters to latin characters. Strips accents, ...

normall.accents(str)

Alias to normall.latenize

normall.username(str)

Normalizes str to be used as a username (strips accents, ...)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].