3.1.22 • Published 1 year ago

mpsl v3.1.22

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

mpsl

A relatively small and fast port of the Public Suffix List to JavaScript/TypeScript.

Usage

mpsl.get(domain) returns the registrable part of domain.

import * as mpsl from 'mpsl';

console.log(mpsl.get('www.test.ac.jp')); // test.ac.jp

mpsl.get does not throw an exception and returns null on invalid input.

Author

iorate

License

MIT

Acknowledgements

The Public Suffix List

The Public Suffix List was initiated by Mozilla and is maintained by the community. I appreciate their great work.

The Public Suffix List is available at the official website or the GitHub repository. It is distributed under MPL-2.0.

punycode.js

mpsl depends on punycode.js by Mathias Bynens and mpsl's UMD variant is bundled with it. I appreciate his great work.

The source code of punycode.js is available at the GitHub repository. It is distributed under MIT.

3.1.18

2 years ago

3.1.22

1 year ago

3.1.21

1 year ago

3.1.20

1 year ago

3.1.19

1 year ago

3.1.17

2 years ago

3.1.14

2 years ago

3.1.13

2 years ago

3.1.16

2 years ago

3.1.15

2 years ago

3.1.12

2 years ago

3.1.11

2 years ago

3.1.10

2 years ago

3.1.9

2 years ago

3.1.8

2 years ago

3.1.7

2 years ago

3.1.3

2 years ago

3.1.2

2 years ago

3.0.3

2 years ago

3.1.1

2 years ago

3.0.2

2 years ago

3.1.0

2 years ago

3.0.1

2 years ago

3.1.6

2 years ago

3.1.5

2 years ago

3.1.4

2 years ago

3.0.0

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago