strip-bom
npmv5.0.0Strip UTF-8 byte order mark (BOM) from a string
Overview
strip-bom is an npm package that strip UTF-8 byte order mark (BOM) from a string. The latest version is 5.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need strip UTF-8 byte order mark (BOM) from a string and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
- Lean dependency tree (3 direct dependencies).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of strip-bom.
Dependencies
Dev (3)
Used by
Popular packages that depend on strip-bom.
Alternatives to strip-bom
Strip comments from JSON. Lets you use comments in your JSON files!
Determine the East Asian Width of a Unicode character
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Convert a string index to its line and column position
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
Get the visual width of a string - the number of columns required to display it
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Measure the difference between two strings using the Levenshtein distance algorithm
Utility to parse a string bytes to bytes and vice-versa
Elegant terminal spinner
Functions for dealing with a PostgreSQL connection string
Frequently installed together
the most correct and second fastest glob implementation in JavaScript
No description provided.
No description provided.
No description provided.
No description provided.
Convert Windows backslash paths to slash paths
No description provided.
No description provided.
No description provided.
No description provided.
Lexes CommonJS modules, returning their named exports metadata
Use this module to start and stop the V8 inspector manually and collect precise coverage.
Version history
| Version | Published | License |
|---|---|---|
| 5.0.0latest | 5 years ago | MIT |
| 4.0.0 | 7 years ago | MIT |
| 3.0.0 | 10 years ago | MIT |
| 2.0.0 | 11 years ago | MIT |
| 1.0.0 | 12 years ago | MIT |
| 0.3.1 | 12 years ago | MIT |
| 0.3.0 | 12 years ago | MIT |
| 0.2.1 | 12 years ago | MIT |
| 0.2.0 | 12 years ago | MIT |
| 0.1.0 | 12 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install strip-bom?
Run `npm install strip-bom` to add strip-bom to your npm project.
What license is strip-bom released under?
strip-bom is distributed under the MIT license.
How popular is strip-bom?
strip-bom has approximately 0 downloads per week and 1 known dependent packages.