vipnet-parser

Partial JS port of ruby gem vipnet_parser

Usage no npm install needed!

<script type="module">
  import vipnetParser from 'https://cdn.skypack.dev/vipnet-parser';
</script>

README

Summary

Partial JS port of ruby gem vipnet_parser.

Key differences

  • implements only VipnetParser.id() and VipnetParser.network()
  • no sort
  • returns IDs in order of its appearances in string
  • dropping non-uniq IDs could be disabled by setting flag onlyUnuq to false (default value: true)

License

vipnet-parser is distributed under the WFTPL.