{"_id":"es-object-atoms","name":"es-object-atoms","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"es-object-atoms","version":"1.0.0","description":"ES Object-related atoms: Object, ToObject, RequireObjectCoercible","main":"index.js","exports":{".":"./index.js","./RequireObjectCoercible":"./RequireObjectCoercible.js","./ToObject":"./ToObject.js","./package.json":"./package.json"},"sideEffects":false,"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","test":"npm run tests-only","tests-only":"nyc tape 'test/**/*.js'","posttest":"aud --production","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"tsc -p . && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/ljharb/es-object-atoms.git"},"keywords":["javascript","ecmascript","object","toobject","coercible"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/es-object-atoms/issues"},"homepage":"https://github.com/ljharb/es-object-atoms#readme","dependencies":{"es-errors":"^1.3.0"},"devDependencies":{"@ljharb/eslint-config":"^21.1.0","@ljharb/tsconfig":"^0.2.0","@types/tape":"^5.6.4","aud":"^2.0.4","auto-changelog":"^2.4.0","eclint":"^2.8.1","eslint":"^8.8.0","evalmd":"^0.0.19","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.7.5","typescript":"next"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"engines":{"node":">= 0.4"},"_id":"es-object-atoms@1.0.0","gitHead":"34cb6da2da31818d011df9837188bd653ebd62bb","types":"./index.d.ts","_nodeVersion":"21.7.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==","shasum":"ddb55cd47ac2e240701260bc2a8e31ecb643d941","tarball":"https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz","fileCount":14,"unpackedSize":9166,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMdYhKH0LKyi7qy0uW6r2RvFCpCa4P3JbD/VVNXxPXSQIhALsh9F93vAXqFWBqrSSs0qDg1qmJ+fnaxJaVJwxaHI7K"}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-object-atoms_1.0.0_1710656343176_0.9493742507070562"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-17T06:19:03.175Z","1.0.0":"2024-03-17T06:19:03.345Z","modified":"2024-03-17T06:19:03.944Z"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"description":"ES Object-related atoms: Object, ToObject, RequireObjectCoercible","homepage":"https://github.com/ljharb/es-object-atoms#readme","keywords":["javascript","ecmascript","object","toobject","coercible"],"repository":{"type":"git","url":"git+https://github.com/ljharb/es-object-atoms.git"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"bugs":{"url":"https://github.com/ljharb/es-object-atoms/issues"},"license":"MIT","readme":"# es-object-atoms <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\nES Object-related atoms: Object, ToObject, RequireObjectCoercible.\n\n## Example\n\n```js\nconst assert = require('assert');\n\nconst $Object = require('es-object-atoms');\nconst ToObject = require('es-object-atoms/ToObject');\nconst RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible');\n\nassert.equal($Object, Object);\nassert.throws(() => ToObject(null), TypeError);\nassert.throws(() => ToObject(undefined), TypeError);\nassert.throws(() => RequireObjectCoercible(null), TypeError);\nassert.throws(() => RequireObjectCoercible(undefined), TypeError);\n\nassert.deepEqual(RequireObjectCoercible(true), true);\nassert.deepEqual(ToObject(true), Object(true));\n\nconst obj = {};\nassert.equal(RequireObjectCoercible(obj), obj);\nassert.equal(ToObject(obj), obj);\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n## Security\n\nPlease email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.\n\n[package-url]: https://npmjs.org/package/es-object-atoms\n[npm-version-svg]: https://versionbadg.es/ljharb/es-object-atoms.svg\n[deps-svg]: https://david-dm.org/ljharb/es-object-atoms.svg\n[deps-url]: https://david-dm.org/ljharb/es-object-atoms\n[dev-deps-svg]: https://david-dm.org/ljharb/es-object-atoms/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/es-object-atoms#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/es-object-atoms.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/es-object-atoms.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/es-object.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=es-object-atoms\n[codecov-image]: https://codecov.io/gh/ljharb/es-object-atoms/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/ljharb/es-object-atoms/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/es-object-atoms\n[actions-url]: https://github.com/ljharb/es-object-atoms/actions\n","readmeFilename":"README.md"}