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

windows-1251

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

windows-1251 - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

windows-1251.mjs

10

package.json
{
"name": "windows-1251",
"version": "1.1.0",
"version": "2.0.0",
"description": "A robust windows-1251 encoder/decoder written in JavaScript.",
"homepage": "https://mths.be/windows-1251",
"main": "windows-1251.js",
"exports": "windows-1251.mjs",
"keywords": [

@@ -31,3 +31,3 @@ "codec",

"LICENSE-MIT.txt",
"windows-1251.js"
"windows-1251.mjs"
],

@@ -37,4 +37,4 @@ "scripts": {

"build": "node scripts/transform-data.js",
"test": "node tests/tests.js",
"cover": "istanbul cover --report html --verbose --dir coverage tests/tests.js"
"test": "node tests/tests.mjs",
"cover": "istanbul cover --report html --verbose --dir coverage tests/tests.mjs"
},

@@ -41,0 +41,0 @@ "devDependencies": {

@@ -15,12 +15,8 @@ # windows-1251 [![Build status](https://github.com/mathiasbynens/windows-1251/workflows/run-checks/badge.svg)](https://github.com/mathiasbynens/windows-1251/actions?query=workflow%3Arun-checks) [![windows-1251 on npm](https://img.shields.io/npm/v/windows-1251)](https://www.npmjs.com/package/windows-1251)

In a browser:
In a browser or in [Node.js](https://nodejs.org/):
```html
<script src="windows-1251.js"></script>
```
In [Node.js](https://nodejs.org/):
```js
const windows1251 = require('windows-1251');
import {encode, decode, labels} from 'windows-1251';
// or…
import * as windows1251 from 'windows-1251';
```

@@ -30,6 +26,2 @@

### `windows1251.version`
A string representing the semantic version number.
### `windows1251.labels`

@@ -36,0 +28,0 @@

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