New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

koi8-u

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

koi8-u - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

koi8-u.mjs

10

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

@@ -29,3 +29,3 @@ "codec",

"LICENSE-MIT.txt",
"koi8-u.js"
"koi8-u.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 @@ # koi8-u [![Build status](https://github.com/mathiasbynens/koi8-u/workflows/run-checks/badge.svg)](https://github.com/mathiasbynens/koi8-u/actions?query=workflow%3Arun-checks) [![koi8-u on npm](https://img.shields.io/npm/v/koi8-u)](https://www.npmjs.com/package/koi8-u)

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

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

### `koi8u.version`
A string representing the semantic version number.
### `koi8u.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