# ipv6-normalize

> ipv6-normalize

Latest version **1.0.1** (published 2015-04-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install ipv6-normalize
pnpm add ipv6-normalize
yarn add ipv6-normalize
bun add ipv6-normalize
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-04-22 |
| First published | 2015-04-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Po-Ying Chen |
| Maintainers | poying |

## Links

- npm: https://www.npmjs.com/package/ipv6-normalize
- Repository: https://github.com/poying/ipv6-normalize
- Issues: https://github.com/poying/ipv6-normalize/issues
- npm.io page: https://npm.io/package/ipv6-normalize

## Recent versions

- 1.0.1 (latest) — 2015-04-22
- 1.0.0 — 2015-04-22

## README

ipv6-normalize
==============

```bash
$ npm i --save ipv6-normalize
```

Extract `bestPresentation` function from [URI.js/src/IPv6.js](https://github.com/medialize/URI.js) into independent module.

```javascript
'use strict';

var assert = require('assert');
var n = require('./');

assert(n('2001:db8:0:0:0:0:cafe:1111') === '2001:db8::cafe:1111');
assert(n('2001:db8::a:1:2:3:4') === '2001:db8:0:a:1:2:3:4');
assert(n('2001:0DB8:AAAA:0000:0000:0000:0000:000C') === '2001:db8:aaaa::c');
assert(n('2001:db8::1:0:0:0:4') === '2001:db8:0:1::4');
```

## License

The MIT License (MIT)

[http://poying.mit-license.org/](http://poying.mit-license.org/)

---
_Source: https://npm.io/package/ipv6-normalize · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
