Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-cp866buffer

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

node-cp866buffer

Converting plaintext to CP866 Buffer

  • 0.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

node-cp866buffer

Converting plain utf-8 string to CP866 Buffer

Installation

npm install node-cp866buffer

Using

var cp866buffer = require('node-cp866buffer');

Methods

encode(string)

Method return the Buffer object of UTF-8 string converted to CP866 encoding.

var buffer = cp866buffer.encode("Иногда нам приходится страдать");
//<Buffer 88 ad ae a3 a4 a0 20 ad a0 ac 20 af e0 a8 e5 ae a4 a8 e2 e1 ef 20 e1 e2 e0 a0 a4 a0 e2 ec>

Keywords

FAQs

Package last updated on 20 Jul 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc