strip-bom-stream

WebJar for strip-bom-stream

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

strip-bom-stream
Последняя версия

Последняя версия

3.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

strip-bom-stream
WebJar for strip-bom-stream
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/sindresorhus/strip-bom-stream

Скачать strip-bom-stream

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/strip-bom-stream/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>strip-bom-stream</artifactId>
    <version>3.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/strip-bom-stream/
implementation 'org.webjars.npm:strip-bom-stream:3.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/strip-bom-stream/
implementation ("org.webjars.npm:strip-bom-stream:3.0.0")
'org.webjars.npm:strip-bom-stream:jar:3.0.0'
<dependency org="org.webjars.npm" name="strip-bom-stream" rev="3.0.0">
  <artifact name="strip-bom-stream" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='strip-bom-stream', version='3.0.0')
)
libraryDependencies += "org.webjars.npm" % "strip-bom-stream" % "3.0.0"
[org.webjars.npm/strip-bom-stream "3.0.0"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.webjars.npm : first-chunk-stream jar [2.0.0,3)
org.webjars.npm : strip-bom-buf jar [1.0.0,2)

Модули Проекта

Данный проект не имеет модулей.

strip-bom-stream

Strip UTF-8 byte order mark (BOM) from a stream

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 strip-bom-stream

Usage

const fs = require('fs');
const stripBomStream = require('strip-bom-stream');

fs.createReadStream('unicorn.txt')
	.pipe(stripBomStream())
	.pipe(fs.createWriteStream('unicorn.txt'));

It's a Transform stream.

Related

Версии библиотеки

Версия
3.0.0
2.0.0