Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

strip-bom-cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strip-bom-cli

Strip UTF-8 byte order mark (BOM)

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
101
-45.7%
Maintainers
1
Weekly downloads
 
Created
Source

strip-bom-cli Build Status

Strip UTF-8 byte order mark (BOM)

From Wikipedia:

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.

Install

$ npm install --global strip-bom-cli

Usage

$ strip-bom --help

  Usage
    $ strip-bom <file> > <new-file>
    $ cat <file> | strip-bom > <new-file>

  Example
    $ strip-bom unicorn.txt > unicorn-without-bom.txt
  • strip-bom - API for this module
  • strip-bom-stream - Strip UTF-8 byte order mark (BOM) from a stream

License

MIT © Sindre Sorhus

Keywords

cli-app

FAQs

Package last updated on 29 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts