JavaScript generic ASN.1 parser (mirror)
at github-56 1.7 kB view raw
1{ 2 "name": "@lapo/asn1js", 3 "version": "1.2.3", 4 "description": "Generic ASN.1 parser/decoder that can decode any valid ASN.1 DER or BER structures.", 5 "main": "asn1.js", 6 "repository": { 7 "type": "git", 8 "url": "git+https://github.com/lapo-luchini/asn1js.git" 9 }, 10 "keywords": [ "asn1", "ber", "der", "pem" ], 11 "author": "Lapo Luchini <lapo@lapo.it>", 12 "license": "ISC", 13 "bugs": { "url": "https://github.com/lapo-luchini/asn1js/issues" }, 14 "homepage": "https://lapo.it/asn1js/", 15 "files": [ "asn1.js", "base64.js", "hex.js", "int10.js", "oids.js" ], 16 "scripts" : { 17 "lint" : "npx eslint asn1.js base64.js hex.js int10.js oids.js parseRFC.js dumpASN1.js", 18 "test" : "node test" 19 }, 20 "eslintConfig": { 21 "env": { 22 "amd": true, 23 "browser": true, 24 "node": true 25 }, 26 "extends": [ "eslint:recommended" ], 27 "globals": { 28 "Uint8Array": "readonly" 29 }, 30 "rules": { 31 "strict": [ "error", "function" ], 32 "indent": [ "error", 4, { "ignoredNodes": [ "Program > ExpressionStatement > CallExpression > FunctionExpression > BlockStatement > ExpressionStatement[directive='use strict']:first-child" ] } ], 33 "linebreak-style": [ "error", "unix" ], 34 "semi": [ "warn", "always" ], 35 "comma-dangle": [ "error", "never" ] 36 }, 37 "overrides": [ 38 { 39 "files": [ "test.js", "parseRFC.js", "dumpASN1.js" ], 40 "parserOptions": { 41 "ecmaVersion": 2020 42 }, 43 "rules": { 44 "strict": [ "error", "global" ], 45 "comma-dangle": [ "error", "always-multiline" ] 46 } 47 }, { 48 "files": [ "oids.js" ], 49 "rules": { 50 "indent": "off" 51 } 52 } 53 ] 54 } 55}