JavaScript generic ASN.1 parser (mirror)
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Markdown style.

+4 -2
+4 -2
README.md
··· 5 5 6 6 An example page that can decode Base64-encoded (raw base64, PEM armoring and `begin-base64` are recognized) or Hex-encoded (or local files with some browsers) is included and can be used both [online on the official website](https://lapo.it/asn1js/) or [offline (ZIP file)](https://lapo.it/asn1js/asn1js.zip). 7 7 8 - Usage with npm / yarn 9 - --------------------- 8 + Usage with `npm` / `yarn` 9 + ------------------------- 10 10 11 11 This package can be installed with either npm or yarn via the following commands: 12 12 ··· 17 17 ``` 18 18 19 19 Assuming a standard javascript bundler is setup you can import it like so: 20 + 20 21 ```js 21 22 const ASN1 = require('@lapo/asn1js'); 22 23 // or with ES modules ··· 24 25 ``` 25 26 26 27 A submodule of this package can also be imported: 28 + 27 29 ```js 28 30 const ASN1 = require('@lapo/asn1js/hex'); 29 31 // or with ES modules