Comparing version 1.1.0 to 2.0.0
{ | ||
"name": "ibm866", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "A robust ibm866 encoder/decoder written in JavaScript.", | ||
"homepage": "https://mths.be/ibm866", | ||
"main": "ibm866.js", | ||
"exports": "ibm866.mjs", | ||
"keywords": [ | ||
@@ -32,3 +32,3 @@ "codec", | ||
"LICENSE-MIT.txt", | ||
"ibm866.js" | ||
"ibm866.mjs" | ||
], | ||
@@ -38,4 +38,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" | ||
}, | ||
@@ -42,0 +42,0 @@ "devDependencies": { |
@@ -15,12 +15,8 @@ # ibm866 [![Build status](https://github.com/mathiasbynens/ibm866/workflows/run-checks/badge.svg)](https://github.com/mathiasbynens/ibm866/actions?query=workflow%3Arun-checks) [![ibm866 on npm](https://img.shields.io/npm/v/ibm866)](https://www.npmjs.com/package/ibm866) | ||
In a browser: | ||
In a browser or in [Node.js](https://nodejs.org/): | ||
```html | ||
<script src="ibm866.js"></script> | ||
``` | ||
In [Node.js](https://nodejs.org/): | ||
```js | ||
const ibm866 = require('ibm866'); | ||
import {encode, decode, labels} from 'ibm866'; | ||
// or… | ||
import * as ibm866 from 'ibm866'; | ||
``` | ||
@@ -30,6 +26,2 @@ | ||
### `ibm866.version` | ||
A string representing the semantic version number. | ||
### `ibm866.labels` | ||
@@ -36,0 +28,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
11591
347
80
1