utf8-bytes

WebJar for utf8-bytes

License

License

MIT
GroupId

GroupId

org.webjars.bowergithub.substack
ArtifactId

ArtifactId

utf8-bytes
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

utf8-bytes
WebJar for utf8-bytes
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/substack/utf8-bytes

Download utf8-bytes

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

utf8-bytes

return an array of all the bytes in a unicode string

build status

This module is like Buffer(str).toJSON(), but without using Buffer.

example

var bytes = require('utf8-bytes');
console.log(bytes('[☉,☼]'));

output:

$ node example/utf8-bytes.js
[ 91, 226, 152, 137, 44, 226, 152, 188, 93 ]

methods

var bytes = require('utf8-bytes')

bytes(str)

Return an array of integers from 0 through 255, inclusive, representing the bytes in the unicode string str.

install

With npm do:

npm install utf8-bytes

license

MIT

Versions

Version
0.0.1