SYMBOL INDEX (260 symbols across 34 files) FILE: index.d.ts type ConstructorOf (line 6) | interface ConstructorOf { type Id (line 12) | interface Id { type Uuid (line 25) | interface Uuid extends Id { type Ulid (line 30) | interface Ulid extends Id { type UlidMonotonic (line 34) | interface UlidMonotonic extends Id { type Uuid1 (line 38) | interface Uuid1 extends Uuid { type Uuid4 (line 45) | interface Uuid4 extends Uuid {} type Uuid6 (line 47) | interface Uuid6 extends Uuid { type UuidNil (line 54) | interface UuidNil extends Uuid {} type IdFactory (line 58) | interface IdFactory { type VersionedIdFactory (line 82) | interface VersionedIdFactory extends IdFactory { type NodeOption (line 89) | interface NodeOption { type TimeOption (line 93) | interface TimeOption { type VersionOption (line 97) | interface VersionOption { type AnyIdFactory (line 101) | type AnyIdFactory = IdFactory; type UlidFactory (line 103) | interface UlidFactory extends IdFactory { type UlidMonotonicFactory (line 107) | interface UlidMonotonicFactory extends IdFactory { type UuidFactory (line 111) | interface UuidFactory extends VersionedIdFactory { type Uuid1Factory (line 115) | interface Uuid1Factory extends IdFactory { type Uuid4Factory (line 119) | interface Uuid4Factory extends IdFactory { type Uuid6Factory (line 123) | interface Uuid6Factory extends IdFactory { type UuidNilFactory (line 127) | interface UuidNilFactory extends IdFactory { type Id128Error (line 134) | interface Id128Error extends Function { type ClockSequenceOverflow (line 139) | interface ClockSequenceOverflow extends Id128Error {} type InvalidBytes (line 140) | interface InvalidBytes extends Id128Error {} type InvalidEncoding (line 141) | interface InvalidEncoding extends Id128Error {} type InvalidEpoch (line 142) | interface InvalidEpoch extends Id128Error {} type UnsupportedVersion (line 143) | interface UnsupportedVersion extends Id128Error {} FILE: src/coder/base.js class BaseCoder (line 10) | class BaseCoder { method constructor (line 11) | constructor({ method decode (line 17) | decode(encoding) { method decodeTrusted (line 26) | decodeTrusted(encoding) { return ByteArray.generateRandomFilled() } method encode (line 28) | encode(bytes) { method encodeTrusted (line 38) | encodeTrusted(bytes) { return '' } method isValidBytes (line 40) | isValidBytes(bytes) { method isValidEncoding (line 46) | isValidEncoding(encoding) { FILE: src/coder/crockford32.js constant ALPHABET (line 5) | const ALPHABET = '0123456789ABCDEFGHJKMNPQRSTVWXYZ'; constant MAX_QUINTET (line 6) | const MAX_QUINTET = 0b11111; constant CHAR_TO_QUINTET (line 8) | const CHAR_TO_QUINTET = Array.from(ALPHABET).reduce( constant QUINTET_TO_CHAR (line 21) | const QUINTET_TO_CHAR = Array.from(ALPHABET); function _charToQuintet (line 23) | function _charToQuintet(chr) { function _quintetToChar (line 27) | function _quintetToChar(quintet) { class Crockford32Coder (line 31) | class Crockford32Coder extends BaseCoder { method constructor (line 32) | constructor() { method decodeTrusted (line 38) | decodeTrusted(encoding) { method encodeTrusted (line 70) | encodeTrusted(bytes) { FILE: src/coder/hex.js constant ALPHABET (line 5) | const ALPHABET = '0123456789ABCDEF'; constant BYTE_TO_HEX (line 7) | const BYTE_TO_HEX = Array constant HEX_TO_BYTE (line 15) | const HEX_TO_BYTE = Array.from(ALPHABET).reduce( class HexCoder (line 23) | class HexCoder extends BaseCoder { method constructor (line 24) | constructor() { method decodeTrusted (line 30) | decodeTrusted(encoding) { method encodeTrusted (line 54) | encodeTrusted(bytes) { FILE: src/coder/uuid.js constant ALPHABET (line 5) | const ALPHABET = '0123456789ABCDEF'; constant BYTE_TO_HEX (line 7) | const BYTE_TO_HEX = Array constant HEX_TO_BYTE (line 15) | const HEX_TO_BYTE = Array.from(ALPHABET).reduce( class UuidCoder (line 23) | class UuidCoder extends BaseCoder { method constructor (line 24) | constructor() { method decodeTrusted (line 30) | decodeTrusted(encoding) { method encodeTrusted (line 56) | encodeTrusted(bytes) { FILE: src/common/byte-array.js constant MAX_BYTES (line 3) | const MAX_BYTES = 16; class ByteArray (line 5) | class ByteArray { method compare (line 6) | compare(lhs, rhs) { method generateOneFilled (line 13) | generateOneFilled() { method generateRandomFilled (line 17) | generateRandomFilled() { method generateZeroFilled (line 21) | generateZeroFilled() { FILE: src/common/epoch-converter.js constant MIN_MS (line 3) | const MIN_MS = 0; constant MAX_MS (line 4) | const MAX_MS = Math.pow(2, 48); class EpochConverter (line 6) | class EpochConverter { method fromEpoch (line 7) | fromEpoch(origin_ms, epoch_ms) { method toEpoch (line 11) | toEpoch(origin_ms, time = null) { FILE: src/common/exception.js class Id128Error (line 1) | class Id128Error extends Error { method name (line 2) | get name() { return this.constructor.name } class ClockSequenceOverflow (line 5) | class ClockSequenceOverflow extends Id128Error {} class InvalidBytes (line 6) | class InvalidBytes extends Id128Error {} class InvalidEncoding (line 7) | class InvalidEncoding extends Id128Error {} class InvalidEpoch (line 8) | class InvalidEpoch extends Id128Error {} class UnsupportedVersion (line 9) | class UnsupportedVersion extends Id128Error {} FILE: src/common/fake-machine.js class FakeMachine (line 5) | class FakeMachine { method constructor (line 6) | constructor() { method mac_address (line 10) | get mac_address() { method reset (line 21) | reset() { FILE: src/common/machine.js class Machine (line 6) | class Machine { method constructor (line 7) | constructor() { method mac_address (line 11) | get mac_address() { method reset (line 32) | reset() { FILE: src/common/random-bytes-browser.js function randomBytes (line 3) | function randomBytes(size) { FILE: src/common/random-bytes.js constant BUFFER_SIZE (line 3) | const BUFFER_SIZE = 4096 /* typical page size */ - 96 /* Empty buffer ov... function randomBytes (line 8) | function randomBytes(size) { FILE: src/factory/id.js class IdFactory (line 7) | class IdFactory { method constructor (line 8) | constructor({ method name (line 26) | get name() { return this[_id].name; } method type (line 27) | get type() { return this[_id][Symbol.species]; } method construct (line 31) | construct(bytes) { method generate (line 35) | generate() { method MIN (line 39) | MIN() { method MAX (line 43) | MAX() { method fromCanonical (line 49) | fromCanonical(canonical) { method fromCanonicalTrusted (line 53) | fromCanonicalTrusted(canonical) { method fromRaw (line 57) | fromRaw(raw) { method fromRawTrusted (line 61) | fromRawTrusted(raw) { method toCanonical (line 65) | toCanonical(id) { method toRaw (line 69) | toRaw(id) { method compare (line 75) | compare(lhs, rhs) { method equal (line 80) | equal(lhs, rhs) { method isCanonical (line 87) | isCanonical(canonical) { method isRaw (line 91) | isRaw(raw) { FILE: src/factory/versioned-id.js function detect (line 8) | function detect(factory, { version } = {}) { class VersionedIdFactory (line 15) | class VersionedIdFactory extends IdFactory { method constructor (line 16) | constructor({ method versioned_ids (line 40) | get versioned_ids() { method construct (line 46) | construct(bytes) { method generate (line 59) | generate() { method MIN (line 63) | MIN() { method MAX (line 67) | MAX() { FILE: src/id/base.js class BaseId (line 7) | class BaseId { method constructor (line 10) | constructor(bytes) { method clone (line 14) | clone() { method bytes (line 20) | get bytes() { method compare (line 30) | compare(rhs) { method equal (line 34) | equal(rhs) { method [Symbol.toStringTag] (line 24) | get [Symbol.toStringTag]() { FILE: src/id/ulid-monotonic.js constant TIME_OFFSET (line 6) | const TIME_OFFSET = 0; constant CLOCK_SEQUENCE_OFFSET (line 7) | const CLOCK_SEQUENCE_OFFSET = 6; constant RANDOM_OFFSET (line 8) | const RANDOM_OFFSET = 8; constant EPOCH_ORIGIN_MS (line 10) | const EPOCH_ORIGIN_MS = 0; function incrementClockSequence (line 15) | function incrementClockSequence(bytes) { function reserveClockSequence (line 34) | function reserveClockSequence(bytes) { function restoreClockSequence (line 38) | function restoreClockSequence(bytes) { class UlidMonotonic (line 44) | class UlidMonotonic extends Ulid { method reset (line 45) | static reset() { method generate (line 52) | static generate({ time } = {}) { FILE: src/id/ulid.js constant TIME_OFFSET (line 5) | const TIME_OFFSET = 0; constant EPOCH_ORIGIN_MS (line 7) | const EPOCH_ORIGIN_MS = 0; constant UINT32_RADIX (line 8) | const UINT32_RADIX = Math.pow(2, 32); constant UINT8_MAX (line 9) | const UINT8_MAX = 0b11111111; function setTime (line 11) | function setTime(time, bytes) { class Ulid (line 24) | class Ulid extends BaseId { method generate (line 28) | static generate({ time } = {}) { method MIN (line 38) | static MIN() { method MAX (line 42) | static MAX() { method time (line 48) | get time() { FILE: src/id/uuid-1.js constant TIME_OFFSET (line 12) | const TIME_OFFSET = 0; constant HIRES_TIME_OFFSET (line 13) | const HIRES_TIME_OFFSET = 2; constant CLOCK_SEQUENCE_OFFSET (line 14) | const CLOCK_SEQUENCE_OFFSET = 8; constant NODE_OFFSET (line 15) | const NODE_OFFSET = 10; constant CLOCK_SEQUENCE_RADIX (line 17) | const CLOCK_SEQUENCE_RADIX = Math.pow(2, 14); constant EPOCH_ORIGIN_MS (line 18) | const EPOCH_ORIGIN_MS = Date.parse('1582-10-15Z'); constant HIRES_TIME_RADIX (line 19) | const HIRES_TIME_RADIX = Math.pow(2, 12); constant TIME_LOW_MS_RADIX (line 20) | const TIME_LOW_MS_RADIX = Math.pow(2, 20); constant UINT8_MAX (line 21) | const UINT8_MAX = 0b11111111; function incrementClockSequence (line 27) | function incrementClockSequence() { function setClockSequence (line 31) | function setClockSequence(time, bytes) { function setNode (line 49) | function setNode(node, bytes) { function setTime (line 55) | function setTime(time, bytes) { class Uuid1 (line 77) | class Uuid1 extends Uuid { method VARIANT (line 78) | static get VARIANT() { return 1 } method VERSION (line 79) | static get VERSION() { return 1 } method reset (line 81) | static reset() { method generate (line 89) | static generate({ node, time } = {}) { method clock_sequence (line 109) | get clock_sequence() { method hires_time (line 117) | get hires_time() { method node (line 125) | get node() { method time (line 129) | get time() { FILE: src/id/uuid-4.js class Uuid4 (line 10) | class Uuid4 extends Uuid { method VARIANT (line 11) | static get VARIANT() { return 1 } method VERSION (line 12) | static get VERSION() { return 4 } method generate (line 14) | static generate() { FILE: src/id/uuid-6.js constant TIME_OFFSET (line 12) | const TIME_OFFSET = 0; constant HIRES_TIME_OFFSET (line 13) | const HIRES_TIME_OFFSET = 6; constant CLOCK_SEQUENCE_OFFSET (line 14) | const CLOCK_SEQUENCE_OFFSET = 8; constant NODE_OFFSET (line 15) | const NODE_OFFSET = 10; constant CLOCK_SEQUENCE_RADIX (line 17) | const CLOCK_SEQUENCE_RADIX = Math.pow(2, 14); constant EPOCH_ORIGIN_MS (line 18) | const EPOCH_ORIGIN_MS = Date.parse('1582-10-15Z'); constant HIRES_TIME_RADIX (line 19) | const HIRES_TIME_RADIX = Math.pow(2, 12); constant UINT32_RADIX (line 20) | const UINT32_RADIX = Math.pow(2, 32); constant UINT8_MAX (line 21) | const UINT8_MAX = 0b11111111; function incrementClockSequence (line 27) | function incrementClockSequence() { function setClockSequence (line 31) | function setClockSequence(time, bytes) { function setNode (line 49) | function setNode(node, bytes) { function setTime (line 55) | function setTime(time, bytes) { class Uuid6 (line 76) | class Uuid6 extends Uuid { method VARIANT (line 77) | static get VARIANT() { return 1 } method VERSION (line 78) | static get VERSION() { return 6 } method reset (line 80) | static reset() { method generate (line 88) | static generate({ node, time } = {}) { method clock_sequence (line 108) | get clock_sequence() { method hires_time (line 116) | get hires_time() { method node (line 124) | get node() { method time (line 128) | get time() { FILE: src/id/uuid-nil.js class UuidNil (line 10) | class UuidNil extends Uuid { method VARIANT (line 11) | static get VARIANT() { return 0 } method VERSION (line 12) | static get VERSION() { return 0 } method generate (line 14) | static generate() { method MAX (line 23) | static MAX() { FILE: src/id/uuid.js constant VARIANT_BYTE (line 6) | const VARIANT_BYTE = 8; constant VERSION_BYTE (line 7) | const VERSION_BYTE = 6; function setVariant (line 9) | function setVariant(variant, bytes) { function setVersion (line 14) | function setVersion(version, bytes) { class Uuid (line 19) | class Uuid extends BaseId { method MIN (line 20) | static MIN() { method MAX (line 29) | static MAX() { method variant (line 38) | get variant() { method version (line 49) | get version() { FILE: test/coder/shared.js constant BYTES (line 13) | const BYTES = Object.freeze({ constant ALPHABET (line 19) | const ALPHABET = Object.freeze({ function describeNamespace (line 27) | function describeNamespace(described_namespace, encoding_any) { function makeBytes (line 32) | function makeBytes(length) { function makeString (line 36) | function makeString(length, alphabet) { function randomChar (line 41) | function randomChar(alphabet) { function assertDecode (line 48) | function assertDecode({ function assertEncode (line 72) | function assertEncode({ FILE: test/coder/uuid.js function makeUuid (line 17) | function makeUuid(alphabet) { FILE: test/common/byte-array.js function assertByteArray (line 7) | function assertByteArray(subject) { FILE: test/common/machine.js function assertFaked (line 18) | function assertFaked() { FILE: test/factory/id.js method generate (line 8) | static generate() { return new this(`id_${Date.now()}`) } method MIN (line 9) | static MIN() { return new this('\x00') } method MAX (line 10) | static MAX() { return new this('\xFF') } method constructor (line 11) | constructor(value) { this._bytes = value } method bytes (line 12) | get bytes() { return this._bytes } function assertDecoder (line 34) | function assertDecoder(method, encoding) { function assertEncoder (line 47) | function assertEncoder(method, pattern) { function assertGenerator (line 57) | function assertGenerator(method) { function assertInjectsInstanceMethod (line 74) | function assertInjectsInstanceMethod(injected_method, generator) { function assertVerifier (line 91) | function assertVerifier(method, validEncoding) { FILE: test/factory/versioned-id.js method VERSION (line 9) | static get VERSION() { return version } method generate (line 10) | static generate() { return new this(`id_${Date.now()} vrsn:${this.VERSIO... method MIN (line 11) | static MIN() { return new this(`\x00 vrsn:${this.VERSION}`) } method MAX (line 12) | static MAX() { return new this(`\xFF vrsn:${this.VERSION}`) } method constructor (line 13) | constructor(value) { this._bytes = value } method bytes (line 14) | get bytes() { return this._bytes } method version (line 15) | get version() { return /vrsn:(\w+)/.exec(this._bytes)[1] } function assertDecoder (line 44) | function assertDecoder(method, encoding) { function assertEncoder (line 62) | function assertEncoder(method, pattern) { function assertGenerator (line 72) | function assertGenerator(method) { function assertInjectsInstanceMethod (line 93) | function assertInjectsInstanceMethod(injected_method, generator) { FILE: test/id/shared.js function assertAccessorBytes (line 11) | function assertAccessorBytes(described_class) { function assertAccessorNode (line 25) | function assertAccessorNode(described_class) { function assertAccessorTime (line 40) | function assertAccessorTime(described_class, labeled_times) { function assertCompareDemonstratesTotalOrder (line 52) | function assertCompareDemonstratesTotalOrder(labeled_ids) { function assertDebuggable (line 95) | function assertDebuggable(described_class) { function assertEqualDemonstratesSameness (line 105) | function assertEqualDemonstratesSameness(labeled_ids) { function assertGenerateBasics (line 129) | function assertGenerateBasics(described_class) { function assertUuidVariantVersion (line 147) | function assertUuidVariantVersion(described_class, variant, version) { FILE: test/id/ulid-monotonic.js constant MAX_TIME (line 20) | const MAX_TIME = new Date(Math.pow(2, 48) - 1); constant MIN_TIME (line 21) | const MIN_TIME = new Date(0); FILE: test/id/ulid.js constant MAX_TIME (line 18) | const MAX_TIME = new Date(Math.pow(2, 48) - 1); constant MIN_TIME (line 19) | const MIN_TIME = new Date(0); FILE: test/id/uuid-1.js constant ORIGIN (line 20) | const ORIGIN = Date.parse('1582-10-15Z'); constant MAX_TIME (line 21) | const MAX_TIME = new Date(Math.pow(2, 48) - 1 + ORIGIN); constant MIN_TIME (line 22) | const MIN_TIME = new Date(ORIGIN); function clockOverflow (line 70) | function clockOverflow(time) { function hiresOverflow (line 93) | function hiresOverflow(time) { FILE: test/id/uuid-6.js constant ORIGIN (line 20) | const ORIGIN = Date.parse('1582-10-15Z'); constant MAX_TIME (line 21) | const MAX_TIME = new Date(Math.pow(2, 48) - 1 + ORIGIN); constant MIN_TIME (line 22) | const MIN_TIME = new Date(ORIGIN); function clockOverflow (line 70) | function clockOverflow(time) { function hiresOverflow (line 93) | function hiresOverflow(time) { FILE: test/id128.js function assertDebuggable (line 7) | function assertDebuggable(id_name, generator) { function assertValidId128 (line 17) | function assertValidId128(id_name, factory, id_class, generator_args = {...