to-buffer

WebJar for to-buffer

Лицензия

Лицензия

MIT
Группа

Группа

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

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

to-buffer
Последняя версия

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

1.1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

to-buffer
WebJar for to-buffer
Ссылка на сайт

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

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

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

https://github.com/mafintosh/to-buffer

Скачать to-buffer

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

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

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

to-buffer

Pass in a string, get a buffer back. Pass in a buffer, get the same buffer back.

npm install to-buffer

build status

Usage

var toBuffer = require('to-buffer')
console.log(toBuffer('hi')) // <Buffer 68 69>
console.log(toBuffer(Buffer('hi'))) // <Buffer 68 69>
console.log(toBuffer('6869', 'hex')) // <Buffer 68 69>
console.log(toBuffer(43)) // throws

License

MIT

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

Версия
1.1.1