@adraffy/ens-norm-ref-impl
v0.0.10
Published
ENS Name Normalization Reference Implementation
Downloads
22
Readme
ENS Normalize Reference Implementation
No frills implementation of @adraffy/ensip-norm
Example
import {ens_normalize} from '@adraffy/ens-norm-ref-impl';
// npm i @adraffy/ens-norm-ref-impl
// browser: https://unpkg.com/@adraffy/ens-norm-ref-impl.js@latest/dist/index.min.js
let normalized = ens_normalize('🚴♂️.eth'); // throws if invalid
Build
npm run test
— run validation testsnpm run build
— create/dist/