iso-8859-16
Advanced tools
Comparing version 1.1.0 to 2.0.0
{ | ||
"name": "iso-8859-16", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "A robust iso-8859-16 encoder/decoder written in JavaScript.", | ||
"homepage": "https://mths.be/iso-8859-16", | ||
"main": "iso-8859-16.js", | ||
"exports": "iso-8859-16.mjs", | ||
"keywords": [ | ||
@@ -29,3 +29,3 @@ "codec", | ||
"LICENSE-MIT.txt", | ||
"iso-8859-16.js" | ||
"iso-8859-16.mjs" | ||
], | ||
@@ -35,4 +35,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" | ||
}, | ||
@@ -39,0 +39,0 @@ "devDependencies": { |
@@ -15,12 +15,8 @@ # iso-8859-16 [![Build status](https://github.com/mathiasbynens/iso-8859-16/workflows/run-checks/badge.svg)](https://github.com/mathiasbynens/iso-8859-16/actions?query=workflow%3Arun-checks) [![iso-8859-16 on npm](https://img.shields.io/npm/v/iso-8859-16)](https://www.npmjs.com/package/iso-8859-16) | ||
In a browser: | ||
In a browser or in [Node.js](https://nodejs.org/): | ||
```html | ||
<script src="iso-8859-16.js"></script> | ||
``` | ||
In [Node.js](https://nodejs.org/): | ||
```js | ||
const iso885916 = require('iso-8859-16'); | ||
import {encode, decode, labels} from 'iso-8859-16'; | ||
// or… | ||
import * as iso885916 from 'iso-8859-16'; | ||
``` | ||
@@ -30,6 +26,2 @@ | ||
### `iso885916.version` | ||
A string representing the semantic version number. | ||
### `iso885916.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
11391
344
80
1