{"_id":"typedarray-dts","_rev":"1-7a9e7631896a8072ae7071e605534bf4","name":"typedarray-dts","description":"TypeScript type definitions for JS TypedArrays","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"typedarray-dts","version":"1.0.0","description":"TypeScript type definitions for JS TypedArrays","author":{"name":"George Thomas"},"license":"MIT","homepage":"https://github.com/mgthomas99/typedarray-dts/README.md","repository":{"type":"git","url":"git+https://github.com/mgthomas99/typedarray-dts.git"},"bugs":{"url":"https://github.com/mgthomas99/typedarray-dts/issues"},"keywords":["definitions","typescript","types","typings"],"typings":"src/index.d.ts","gitHead":"aee9b6f3b9c75d956352d8d639451a06655f3dd3","_id":"typedarray-dts@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"mgthomas99","email":"m.g.thomas99@gmail.com"},"dist":{"integrity":"sha512-Ka0DBegjuV9IPYFT1h0Qqk5U4pccebNIJCGl8C5uU7xtOs+jpJvKGAY4fHGK25hTmXZOEUl9Cnsg5cS6K/b5DA==","shasum":"9dec9811386dbfba964c295c2606cf9a6b982d06","tarball":"https://registry.npmjs.org/typedarray-dts/-/typedarray-dts-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhIuZxp8oxN1BU9ydnczoeT+uh64dj4W08JNOg6RRYUQIgIwrhDE7/YJY5DnZlsBTdZv80E2Ei2zVafThtPRzAA1o="}]},"maintainers":[{"name":"mgthomas99","email":"m.g.thomas99@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typedarray-dts-1.0.0.tgz_1514989894781_0.29494228144176304"}}},"readme":"# typedarray-dts\n\nType definitions for JavaScript typed arrays.\n\nThere are 9 typed array types in JavaScript:\n\n- Int8Array\n- Int16Array\n- Int32Array\n- Uint8Array\n- Uint16Array\n- Uint32Array\n- Uint8ClampedArray\n- Float32Array\n- Float64Array\n\nIt is not unusual to require a variable that is of a `TypedArray` type. However,\nthe JavaScript standard library type definitions do not include an abstract\n`TypedArray` type. This package implements one.\n\n## Usage\n\nThis package does not implement functionality, only type definitions.\n\n```ts\nimport { TypedArray } from \"typedarray-dts\";\n\nfunction doSomething(x: TypedArray): void {\n // IntelliSense now knows `x` is a `TypedArray`!\n}\n```\n\nThere are two other types provided by this package: `SignedTypedArray` and\n`UnsignedTypedArray`:\n\n```ts\nimport { SignedTypedArray, UnsignedTypedArray } from \"typedarray-dts\";\n\nfunction doSomethingSigned(x: SignedTypedArray): void {\n // `x` is a signed `TypedArray`!\n}\n\nfunction doSomethingUnsigned(x: UnsignedTypedArray): void {\n // `x` is an unsigned `TypedArray`!\n}\n```\n\n## License\n\nRefer to the `LICENSE` file for license information.\n","maintainers":[{"name":"mgthomas99","email":"m.g.thomas99@gmail.com"}],"time":{"modified":"2022-05-22T12:38:11.642Z","created":"2018-01-03T14:31:35.582Z","1.0.0":"2018-01-03T14:31:35.582Z"},"homepage":"https://github.com/mgthomas99/typedarray-dts/README.md","keywords":["definitions","typescript","types","typings"],"repository":{"type":"git","url":"git+https://github.com/mgthomas99/typedarray-dts.git"},"author":{"name":"George Thomas"},"bugs":{"url":"https://github.com/mgthomas99/typedarray-dts/issues"},"license":"MIT","readmeFilename":"README.md"}