UNPKG

otplib

Version:

TypeScript-first library for TOTP and HOTP with multi-runtime and plugin support

1 lines 9.79 kB
{"inputs":{"../core/src/errors.ts":{"bytes":12228,"imports":[],"format":"esm"},"../core/src/utils.ts":{"bytes":28254,"imports":[{"path":"../core/src/errors.ts","kind":"import-statement","original":"./errors.js"}],"format":"esm"},"../core/src/crypto-context.ts":{"bytes":2926,"imports":[{"path":"../core/src/errors.ts","kind":"import-statement","original":"./errors.js"}],"format":"esm"},"../core/src/base32-context.ts":{"bytes":2029,"imports":[{"path":"../core/src/errors.ts","kind":"import-statement","original":"./errors.js"}],"format":"esm"},"../core/src/plugin-factories.ts":{"bytes":3523,"imports":[{"path":"../core/src/errors.ts","kind":"import-statement","original":"./errors.js"},{"path":"../core/src/utils.ts","kind":"import-statement","original":"./utils.js"}],"format":"esm"},"../core/src/utility-types.ts":{"bytes":4869,"imports":[],"format":"esm"},"../core/src/index.ts":{"bytes":2658,"imports":[{"path":"../core/src/errors.ts","kind":"import-statement","original":"./errors.js"},{"path":"../core/src/utils.ts","kind":"import-statement","original":"./utils.js"},{"path":"../core/src/crypto-context.ts","kind":"import-statement","original":"./crypto-context.js"},{"path":"../core/src/base32-context.ts","kind":"import-statement","original":"./base32-context.js"},{"path":"../core/src/plugin-factories.ts","kind":"import-statement","original":"./plugin-factories.js"},{"path":"../core/src/utility-types.ts","kind":"import-statement","original":"./utility-types.js"}],"format":"esm"},"../uri/src/types.ts":{"bytes":2038,"imports":[],"format":"esm"},"../uri/src/parse.ts":{"bytes":5830,"imports":[{"path":"../uri/src/types.ts","kind":"import-statement","original":"./types.js"}],"format":"esm"},"../uri/src/generate.ts":{"bytes":3904,"imports":[],"format":"esm"},"../uri/src/index.ts":{"bytes":395,"imports":[{"path":"../uri/src/parse.ts","kind":"import-statement","original":"./parse.js"},{"path":"../uri/src/generate.ts","kind":"import-statement","original":"./generate.js"},{"path":"../uri/src/types.ts","kind":"import-statement","original":"./types.js"}],"format":"esm"},"../hotp/src/class.ts":{"bytes":3988,"imports":[{"path":"../core/src/index.ts","kind":"import-statement","original":"@otplib/core"},{"path":"../uri/src/index.ts","kind":"import-statement","original":"@otplib/uri"},{"path":"../hotp/src/index.ts","kind":"import-statement","original":"./index.js"}],"format":"esm"},"../hotp/src/index.ts":{"bytes":11684,"imports":[{"path":"../core/src/index.ts","kind":"import-statement","original":"@otplib/core"},{"path":"../hotp/src/class.ts","kind":"import-statement","original":"./class.js"},{"path":"../core/src/index.ts","kind":"import-statement","original":"@otplib/core"}],"format":"esm"},"../totp/src/class.ts":{"bytes":5562,"imports":[{"path":"../core/src/index.ts","kind":"import-statement","original":"@otplib/core"},{"path":"../uri/src/index.ts","kind":"import-statement","original":"@otplib/uri"},{"path":"../totp/src/index.ts","kind":"import-statement","original":"./index.js"}],"format":"esm"},"../totp/src/index.ts":{"bytes":13872,"imports":[{"path":"../core/src/index.ts","kind":"import-statement","original":"@otplib/core"},{"path":"../hotp/src/index.ts","kind":"import-statement","original":"@otplib/hotp"},{"path":"../totp/src/class.ts","kind":"import-statement","original":"./class"},{"path":"../core/src/index.ts","kind":"import-statement","original":"@otplib/core"}],"format":"esm"},"../../node_modules/.pnpm/@scure+base@2.0.0/node_modules/@scure/base/index.js":{"bytes":24445,"imports":[],"format":"esm"},"../plugin-base32-scure/src/index.ts":{"bytes":2097,"imports":[{"path":"../../node_modules/.pnpm/@scure+base@2.0.0/node_modules/@scure/base/index.js","kind":"import-statement","original":"@scure/base"}],"format":"esm"},"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/utils.js":{"bytes":9356,"imports":[],"format":"esm"},"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/hmac.js":{"bytes":2992,"imports":[{"path":"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/utils.js","kind":"import-statement","original":"./utils.js"}],"format":"esm"},"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/_md.js":{"bytes":5615,"imports":[{"path":"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/utils.js","kind":"import-statement","original":"./utils.js"}],"format":"esm"},"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/legacy.js":{"bytes":9763,"imports":[{"path":"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/_md.js","kind":"import-statement","original":"./_md.js"},{"path":"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/utils.js","kind":"import-statement","original":"./utils.js"}],"format":"esm"},"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/_u64.js":{"bytes":3081,"imports":[],"format":"esm"},"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/sha2.js":{"bytes":16773,"imports":[{"path":"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/_md.js","kind":"import-statement","original":"./_md.js"},{"path":"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/_u64.js","kind":"import-statement","original":"./_u64.js"},{"path":"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/utils.js","kind":"import-statement","original":"./utils.js"}],"format":"esm"},"../plugin-crypto-noble/src/index.ts":{"bytes":2667,"imports":[{"path":"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/hmac.js","kind":"import-statement","original":"@noble/hashes/hmac.js"},{"path":"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/legacy.js","kind":"import-statement","original":"@noble/hashes/legacy.js"},{"path":"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/sha2.js","kind":"import-statement","original":"@noble/hashes/sha2.js"},{"path":"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/utils.js","kind":"import-statement","original":"@noble/hashes/utils.js"},{"path":"../core/src/index.ts","kind":"import-statement","original":"@otplib/core"}],"format":"esm"},"src/defaults.ts":{"bytes":1514,"imports":[{"path":"../core/src/index.ts","kind":"import-statement","original":"@otplib/core"},{"path":"../plugin-base32-scure/src/index.ts","kind":"import-statement","original":"@otplib/plugin-base32-scure"},{"path":"../plugin-crypto-noble/src/index.ts","kind":"import-statement","original":"@otplib/plugin-crypto-noble"}],"format":"esm"},"src/functional.ts":{"bytes":10325,"imports":[{"path":"../core/src/index.ts","kind":"import-statement","original":"@otplib/core"},{"path":"../hotp/src/index.ts","kind":"import-statement","original":"@otplib/hotp"},{"path":"../totp/src/index.ts","kind":"import-statement","original":"@otplib/totp"},{"path":"../uri/src/index.ts","kind":"import-statement","original":"@otplib/uri"},{"path":"src/defaults.ts","kind":"import-statement","original":"./defaults.js"}],"format":"esm"},"src/class.ts":{"bytes":9168,"imports":[{"path":"../core/src/index.ts","kind":"import-statement","original":"@otplib/core"},{"path":"src/defaults.ts","kind":"import-statement","original":"./defaults.js"},{"path":"src/functional.ts","kind":"import-statement","original":"./functional.js"}],"format":"esm"},"src/index.ts":{"bytes":958,"imports":[{"path":"src/functional.ts","kind":"import-statement","original":"./functional.js"},{"path":"src/class.ts","kind":"import-statement","original":"./class.js"},{"path":"../hotp/src/index.ts","kind":"import-statement","original":"@otplib/hotp"},{"path":"../totp/src/index.ts","kind":"import-statement","original":"@otplib/totp"},{"path":"../core/src/index.ts","kind":"import-statement","original":"@otplib/core"},{"path":"../plugin-crypto-noble/src/index.ts","kind":"import-statement","original":"@otplib/plugin-crypto-noble"},{"path":"../plugin-base32-scure/src/index.ts","kind":"import-statement","original":"@otplib/plugin-base32-scure"}],"format":"esm"}},"outputs":{"dist/index.global.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":254583},"dist/index.global.js":{"imports":[],"exports":[],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":298},"../core/src/errors.ts":{"bytesInOutput":4268},"../core/src/index.ts":{"bytesInOutput":0},"../core/src/utils.ts":{"bytesInOutput":3533},"../core/src/crypto-context.ts":{"bytesInOutput":675},"../uri/src/generate.ts":{"bytesInOutput":945},"../uri/src/index.ts":{"bytesInOutput":0},"../hotp/src/class.ts":{"bytesInOutput":939},"../hotp/src/index.ts":{"bytesInOutput":1596},"../totp/src/class.ts":{"bytesInOutput":1139},"../totp/src/index.ts":{"bytesInOutput":1754},"../../node_modules/.pnpm/@scure+base@2.0.0/node_modules/@scure/base/index.js":{"bytesInOutput":2996},"../plugin-base32-scure/src/index.ts":{"bytesInOutput":349},"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/utils.js":{"bytesInOutput":1592},"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/hmac.js":{"bytesInOutput":1274},"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/_md.js":{"bytesInOutput":1806},"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/legacy.js":{"bytesInOutput":850},"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/_u64.js":{"bytesInOutput":785},"../../node_modules/.pnpm/@noble+hashes@2.0.1/node_modules/@noble/hashes/sha2.js":{"bytesInOutput":5460},"../plugin-crypto-noble/src/index.ts":{"bytesInOutput":179},"src/defaults.ts":{"bytesInOutput":440},"src/functional.ts":{"bytesInOutput":2138},"src/class.ts":{"bytesInOutput":909}},"bytes":34629}}}