@adraffy/ens-normalize
Advanced tools
Comparing version 1.8.8 to 1.8.9
{ | ||
"name": "@adraffy/ens-normalize", | ||
"version": "1.8.8", | ||
"version": "1.8.9", | ||
"description": "Compact ES6 Ethereum Name Service (ENS) Name Normalizer", | ||
@@ -21,2 +21,7 @@ "keywords": [ | ||
"types": "./dist/index.d.ts" | ||
}, | ||
"./xnf": { | ||
"require": "./dist/index-xnf.cjs", | ||
"import": "./dist/index-xnf.js", | ||
"types": "./dist/index.d.ts" | ||
} | ||
@@ -23,0 +28,0 @@ }, |
@@ -21,2 +21,3 @@ # ens-normalize.js | ||
* [ENS+NFT Matcher](https://raffy.antistupid.com/eth/ens-nft-matcher.html) | ||
* [Batch Resolver](https://raffy.antistupid.com/eth/ens-batch-resolver.html) | ||
* [Breakdown Reports:](https://adraffy.github.io/ens-norm-tests/test-breakdown/output/) | ||
@@ -31,3 +32,3 @@ * [Disallowed Characters](https://adraffy.github.io/ens-norm-tests/test-breakdown/output/disallowed.html) | ||
```Javascript | ||
import {ens_normalize} from '@adraffy/ens-normalize'; | ||
import {ens_normalize} from '@adraffy/ens-normalize'; // or require() | ||
// npm i @adraffy/ens-normalize | ||
@@ -72,4 +73,4 @@ // browser: https://cdn.jsdelivr.net/npm/@adraffy/ens-normalize@latest/dist/index.min.js | ||
// [ | ||
// { type: 'valid', cp: 95 }, // valid | ||
// { // (eg. no combining marks) | ||
// { type: 'valid', cp: [ 95 ] }, // valid (as-is) | ||
// { | ||
// type: 'mapped', | ||
@@ -83,3 +84,3 @@ // cp: 82, // input | ||
// emoji: [ 128169, 65039 ], // fully-qualified | ||
// cps: Emoji(1) [ 128169 ] // output | ||
// cps: Emoji(1) [ 128169 ] // output (normalized) | ||
// }, | ||
@@ -89,3 +90,3 @@ // { | ||
// input: [ 97, 772 ], // input (before nfc, only valid or mapped) | ||
// cps: [ 257 ], // output (after nfc) | ||
// cps: [ 257 ], // output (after nfc, normalized) | ||
// tokens: [ // tokens (before nfc) | ||
@@ -92,0 +93,0 @@ // { type: 'valid', cps: [ 97 ] }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
406364
13
6270
175