passthrough-encoding
An encoder that encodes buffers/strings to a buffer and is abstract-encoding compatible
Last updated 11 years ago by mafintosh .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install passthrough-encoding 
SYNC missed versions from official npm registry.

passthrough-encoding

An encoder that encodes buffers/strings to a buffer and is abstract-encoding compatible

npm install passthrough-encoding

abstract-encoding build status

Usage

var enc = require('passthrough-encoding')

console.log(enc.encode(Buffer('hello'))) // prints Buffer('hello')
console.log(enc.encode('hello')) // prints Buffer('hello')

API

See mafintosh/abstract-encoding

License

MIT

Current Tags

  • 1.2.0                                ...           latest (11 years ago)

3 Versions

  • 1.2.0                                ...           11 years ago
  • 1.1.0                                ...           11 years ago
  • 1.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Total 9
Today 0
This Week 0
This Month 5
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE