{"_id":"@emiplegiaqmnpm/sit-nisi-praesentium","name":"@emiplegiaqmnpm/sit-nisi-praesentium","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@emiplegiaqmnpm/sit-nisi-praesentium","version":"1.0.0","description":"[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]","main":"index.js","author":{"name":"emiplegiaqM"},"license":"MIT","dependencies":{"@emiplegiaqmnpm/ad-aliquam-temporibus":"^1.0.0","@emiplegiaqmnpm/cupiditate-excepturi-necessitatibus":"^1.0.0","@emiplegiaqmnpm/eaque-vitae-recusandae":"^1.0.0","@emiplegiaqmnpm/esse-quos-sunt":"^1.0.0","@emiplegiaqmnpm/fugit-vero-voluptas":"^1.0.0","@emiplegiaqmnpm/magni-doloremque-facilis":"^1.0.0","@emiplegiaqmnpm/porro-culpa-sint":"^1.0.0","@emiplegiaqmnpm/praesentium-ut-quam":"^1.0.0","@emiplegiaqmnpm/quas-vero-impedit":"^1.0.0","@emiplegiaqmnpm/reiciendis-sint-iusto":"^1.0.0","@emiplegiaqmnpm/repudiandae-dolorem-facere":"^1.0.0","@f1stnpm2/officiis-cumque-dolor-ducimus":"^1.0.0","@ffras4vnpm/atque-vel-expedita-quam":"^1.0.0"},"keywords":["Uint8Array","bdd","move","push","collection.es6","gdpr","Object","limited","less.js","prune","toolkit","log","opener","immer","l10n","xdg-open","less mixins","ECMAScript 6","watchFile","exe","classes","last","ECMAScript 2022","eslintconfig","symbol","String.prototype.matchAll","Array.prototype.flatMap","config","StyleSheet","ECMAScript 7","typeerror","connect","testing","fantasy-land","form-validation","property","channel","watch","rapid","private data","flatMap","directory","ES2018","assert","id","URLSearchParams","classname","path","karma","offset","invariant","command-line","streams","promise","data","object","ES2023","readable","inference","ECMAScript 5","json-schema","client","sharedarraybuffer","mru","harmony","ES7","arktype","loading","user-streams","tools","stable","enumerable","argv","preprocessor","async","react-hook-form","variables","less","call-bound","cache","dataview","character","is","weakmap","Int8Array","native","get","eslint-plugin","css-in-js","auth","bluebird","stringifier","japanese","a11y","dom","Object.assign","ES","vest","Object.keys","byteLength","sameValueZero","apollo","equality","ES2022","watching","Object.defineProperty","superagent","ie","ECMAScript 2023","es5","json-schema-validation","Array","class-validator","es7","linewrap","styleguide","check","internal","entries","gradients css3","Map","estree","colour","filter","transpile","web","fp","includes","duplex","eventDispatcher","censor","jsx","gestures","write","busy"],"repository":{"type":"git","url":"git+https://github.com/emiplegiaqmnpm/sit-nisi-praesentium.git"},"homepage":"https://github.com/emiplegiaqmnpm/sit-nisi-praesentium/#readme","bugs":{"url":"https://github.com/emiplegiaqmnpm/sit-nisi-praesentium/issues"},"packageManager":"yarn@4.1.1","_id":"@emiplegiaqmnpm/sit-nisi-praesentium@1.0.0","gitHead":"41c78e8bd92842cc50c5881f6aed0df276c19954","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-JKkDcd2+Cn+lWDi3ai+RIaNjuIXVeCMM/UbKSsgI7S3Lg8urv/tEzpDD43qBRWWd/bblSz2ja6vqQYDe1u4C8Q==","shasum":"b6ba35bec5945cb09d8a81c2bc6cd7f68363bc19","tarball":"https://registry.npmjs.org/@emiplegiaqmnpm/sit-nisi-praesentium/-/sit-nisi-praesentium-1.0.0.tgz","fileCount":10,"unpackedSize":11122,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID1TzmDV701kQ7/TOA6MOXiKiEhzvC3FN+fTaC5drhylAiBDi9lR/xMujBKGzDyXQvZuB82KKLYn1SvfAJbriBqQJQ=="}]},"_npmUser":{"name":"hn413381","email":"hn413381@gmail.com"},"directories":{},"maintainers":[{"name":"hn413381","email":"hn413381@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sit-nisi-praesentium_1.0.0_1714024983030_0.13363965795737998"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-25T06:03:02.913Z","1.0.0":"2024-04-25T06:03:03.215Z","modified":"2024-04-25T06:03:03.543Z"},"maintainers":[{"name":"hn413381","email":"hn413381@gmail.com"}],"description":"[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]","homepage":"https://github.com/emiplegiaqmnpm/sit-nisi-praesentium/#readme","keywords":["Uint8Array","bdd","move","push","collection.es6","gdpr","Object","limited","less.js","prune","toolkit","log","opener","immer","l10n","xdg-open","less mixins","ECMAScript 6","watchFile","exe","classes","last","ECMAScript 2022","eslintconfig","symbol","String.prototype.matchAll","Array.prototype.flatMap","config","StyleSheet","ECMAScript 7","typeerror","connect","testing","fantasy-land","form-validation","property","channel","watch","rapid","private data","flatMap","directory","ES2018","assert","id","URLSearchParams","classname","path","karma","offset","invariant","command-line","streams","promise","data","object","ES2023","readable","inference","ECMAScript 5","json-schema","client","sharedarraybuffer","mru","harmony","ES7","arktype","loading","user-streams","tools","stable","enumerable","argv","preprocessor","async","react-hook-form","variables","less","call-bound","cache","dataview","character","is","weakmap","Int8Array","native","get","eslint-plugin","css-in-js","auth","bluebird","stringifier","japanese","a11y","dom","Object.assign","ES","vest","Object.keys","byteLength","sameValueZero","apollo","equality","ES2022","watching","Object.defineProperty","superagent","ie","ECMAScript 2023","es5","json-schema-validation","Array","class-validator","es7","linewrap","styleguide","check","internal","entries","gradients css3","Map","estree","colour","filter","transpile","web","fp","includes","duplex","eventDispatcher","censor","jsx","gestures","write","busy"],"repository":{"type":"git","url":"git+https://github.com/emiplegiaqmnpm/sit-nisi-praesentium.git"},"author":{"name":"emiplegiaqM"},"bugs":{"url":"https://github.com/emiplegiaqmnpm/sit-nisi-praesentium/issues"},"license":"MIT","readme":"# typed-array-byte-offset <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nRobustly get the byte offset of a Typed Array, or `false` if it is not a Typed Array. Works cross-realm, in every engine, even if the `byteOffset` property is overridden.\n\n## Example\n\n```js\nvar typedArrayByteOffset = require('typed-array-byte-offset');\nvar assert = require('assert');\n\nassert.equal(false, typedArrayByteOffset(undefined));\nassert.equal(false, typedArrayByteOffset(null));\nassert.equal(false, typedArrayByteOffset(false));\nassert.equal(false, typedArrayByteOffset(true));\nassert.equal(false, typedArrayByteOffset([]));\nassert.equal(false, typedArrayByteOffset({}));\nassert.equal(false, typedArrayByteOffset(/a/g));\nassert.equal(false, typedArrayByteOffset(new RegExp('a', 'g')));\nassert.equal(false, typedArrayByteOffset(new Date()));\nassert.equal(false, typedArrayByteOffset(42));\nassert.equal(false, typedArrayByteOffset(NaN));\nassert.equal(false, typedArrayByteOffset(Infinity));\nassert.equal(false, typedArrayByteOffset(new Number(42)));\nassert.equal(false, typedArrayByteOffset('foo'));\nassert.equal(false, typedArrayByteOffset(Object('foo')));\nassert.equal(false, typedArrayByteOffset(function () {}));\nassert.equal(false, typedArrayByteOffset(function* () {}));\nassert.equal(false, typedArrayByteOffset(x => x * x));\nassert.equal(false, typedArrayByteOffset([]));\n\nconst buffer = new ArrayBuffer(32);\n\nassert.equal(8, typedArrayByteOffset(new Int8Array(buffer, 8)));\nassert.equal(8, typedArrayByteOffset(new Uint8Array(buffer, 8)));\nassert.equal(8, typedArrayByteOffset(new Uint8ClampedArray(buffer, 8)));\nassert.equal(4, typedArrayByteOffset(new Int16Array(buffer, 4)));\nassert.equal(4, typedArrayByteOffset(new Uint16Array(buffer, 4)));\nassert.equal(8, typedArrayByteOffset(new Int32Array(buffer, 8)));\nassert.equal(8, typedArrayByteOffset(new Uint32Array(buffer, 8)));\nassert.equal(16, typedArrayByteOffset(new Float32Array(buffer, 16)));\nassert.equal(16, typedArrayByteOffset(new Float64Array(buffer, 16)));\nassert.equal(16, typedArrayByteOffset(new BigInt64Array(buffer, 16)));\nassert.equal(16, typedArrayByteOffset(new BigUint64Array(buffer, 16)));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/typed-array-byte-offset\n[npm-version-svg]: https://versionbadg.es/inspect-js/typed-array-byte-offset.svg\n[deps-svg]: https://david-dm.org/inspect-js/typed-array-byte-offset.svg\n[deps-url]: https://david-dm.org/inspect-js/typed-array-byte-offset\n[dev-deps-svg]: https://david-dm.org/inspect-js/typed-array-byte-offset/dev-status.svg\n[dev-deps-url]: https://david-dm.org/inspect-js/typed-array-byte-offset#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/typed-array-byte-offset.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/typed-array-byte-offset.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/typed-array-byte-offset.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=typed-array-byte-offset\n[codecov-image]: https://codecov.io/gh/inspect-js/typed-array-byte-offset/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/typed-array-byte-offset/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/typed-array-byte-offset\n[actions-url]: https://github.com/inspect-js/typed-array-byte-offset/actions\n","readmeFilename":"README.md"}