0.0.3 • Published 2 years ago

@adraffy/ens-norm-ref-impl.js v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ENS Normalize Reference Implementation

No frills implementation of @adraffy/ensip-norm

Warning

Example

import {ens_normalize} from '@adraffy/ens-norm-ref-impl.js'; // npm i @adraffy/ens-norm-ref-impl.js
// 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 tests
  • npm run build create /dist/