Displaying 1 to 19 from 19 results




strip-bom - Strip UTF-8 byte order mark (BOM) from a string

  •    Javascript

The Unicode Standard permits the BOM in UTF-8, but does not require nor recommend its use. Byte order has no meaning in UTF-8.


strip-indent - Strip leading whitespace from each line in a string

  •    Javascript

The line with the least number of leading whitespace, ignoring empty lines, determines the number to remove.Useful for removing redundant indentation.

Diacritics

  •    Javascript

Diacritic javascript module for cleaning or stripping a string of accents and replacing them with an equivalent.

strip-comments - Strip block comments or line comments from JavaScript code.

  •    Javascript

Strip comments from code. Removes line comments, block comments, the first comment only, or all comments. Optionally leave protected comments unharmed. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.