{"versions":{"3.0.0":{"name":"@xhmikosr/os-filter-obj","version":"3.0.0","description":"Filter an array of objects to a specific OS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/XhmikosR/os-filter-obj.git"},"publishConfig":{"access":"public"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":"^14.14.0 || >=16.0.0"},"scripts":{"ava":"ava","lint":"xo","xo":"xo","fix":"xo --fix","test":"npm run ava"},"main":"index.js","type":"module","exports":{".":"./index.js"},"keywords":["arch","filter","obj","object","os"],"dependencies":{"arch":"^3.0.0"},"devDependencies":{"ava":"^4.3.3","xo":"^0.54.2"},"xo":{"rules":{"arrow-body-style":"off","unicorn/prevent-abbreviations":"off"}},"_id":"@xhmikosr/os-filter-obj@3.0.0","gitHead":"69d4469e9dc31ec5540f4ff8d845a30ef25be94e","bugs":{"url":"https://github.com/XhmikosR/os-filter-obj/issues"},"homepage":"https://github.com/XhmikosR/os-filter-obj#readme","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-siPY6BD5dQ2SZPl3I0OZBHL27ZqZvLEosObsZRQ1NUB8qcxegwt0T9eKtV96JMFQpIz1elhkzqOg4c/Ri6Dp9A==","shasum":"917d380868d03ce853f90a919716ef73f6b26808","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@xhmikosr/os-filter-obj/-/os-filter-obj-3.0.0.tgz","fileCount":4,"unpackedSize":3222,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAOuCMtCNn0RlRMq8NG6f5osnTJ13uwktTNfBb0lhJ5WAiAbnwWkLHEeGIf1VcHU3OBgLkYXQitHENZutkHtLt/xxw=="}],"size":1768},"_npmUser":{"name":"anonymous","email":"xhmikosr@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"xhmikosr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/os-filter-obj_3.0.0_1707726408651_0.48595949008887107"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-12T08:26:48.799Z","publish_time":1707726408799,"_source_registry_name":"default","contributors":[]},"4.0.0":{"name":"@xhmikosr/os-filter-obj","version":"4.0.0","description":"Filter an array of objects to a specific OS","license":"MIT","repository":{"type":"git","url":"git+https://github.com/XhmikosR/os-filter-obj.git"},"publishConfig":{"access":"public"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=20"},"scripts":{"ava":"ava","lint":"xo","xo":"xo","fix":"xo --fix","test":"npm run ava"},"main":"index.js","type":"module","exports":{".":"./index.js"},"keywords":["arch","filter","obj","object","os"],"dependencies":{"arch":"^3.0.0"},"devDependencies":{"ava":"^7.0.0","xo":"^1.2.3"},"xo":{"rules":{"arrow-body-style":"off","unicorn/prevent-abbreviations":"off"}},"gitHead":"151f9ec89f84f5be59deafff9830ba93b899f6f7","_id":"@xhmikosr/os-filter-obj@4.0.0","bugs":{"url":"https://github.com/XhmikosR/os-filter-obj/issues"},"homepage":"https://github.com/XhmikosR/os-filter-obj#readme","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-CBJYipR5lrtQQZl9ylarWyh1qhcs/tMy9ydSHte/Hefn3ev8NMvS3ss+eqiXEoBr2wBVgKj2qjcViXO9P/8K4A==","shasum":"40378aa220996755d7d1d55bd97331977b909c29","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@xhmikosr/os-filter-obj/-/os-filter-obj-4.0.0.tgz","fileCount":4,"unpackedSize":3533,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFEmlH+E8RKan/3fU0ts0igBgb/jIb2yiQNCgPiwQYF9AiAkho1nUFq+cFWb/tKJ6znZPUkIcelyyYVoNdWU0ZBKBQ=="}],"size":1881},"_npmUser":{"name":"anonymous","email":"xhmikosr@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"xhmikosr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/os-filter-obj_4.0.0_1772285025072_0.10585190195272531"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-28T13:23:45.234Z","publish_time":1772285025234,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"4.0.0"},"name":"@xhmikosr/os-filter-obj","time":{"created":"2024-02-12T08:28:31.796Z","modified":"2026-02-28T13:23:53.450Z","3.0.0":"2024-02-12T08:26:48.799Z","4.0.0":"2026-02-28T13:23:45.234Z"},"readme":"# os-filter-obj [![npm version](https://img.shields.io/npm/v/@xhmikosr/os-filter-obj?logo=npm&logoColor=fff)](https://www.npmjs.com/package/@xhmikosr/os-filter-obj) [![CI Status](https://img.shields.io/github/actions/workflow/status/XhmikosR/os-filter-obj/ci.yml?branch=master&label=CI&logo=github)](https://github.com/XhmikosR/os-filter-obj/actions/workflows/ci.yml?query=branch%3Amaster)\n\n> Filter an array of objects to a specific OS\n\n## Install\n\n```sh\nnpm install @xhmikosr/os-filter-obj\n```\n\n## Usage\n\n```js\nimport osFilterObj from 'os-filter-obj';\n\nconst objects = [{\n\tos: 'linux',\n\tarch: 'x64',\n\tfoo: 'unicorn',\n\tbar: 'cow'\n}, {\n\tos: 'darwin',\n\tarch: 'x64',\n\tfoo: 'unicorn',\n\tbar: 'cow'\n},{\n\tos: 'win32',\n\tarch: 'x64',\n\tfoo: 'unicorn',\n\tbar: 'cow'\n}];\n\nosFilterObj(objects);\n/*\n\t[{\n\t\tos: 'linux',\n\t\tarch: 'x64',\n\t\tfoo: 'unicorn',\n\t\tbar: 'cow'\n\t}];\n*/\n```\n\n## API\n\n### osFilterObj(objects)\n\nReturns an `Array` with the filtered objects.\n\n#### objects\n\n* Type: `Array`\n* The `Array` to filter.\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)","users":{}}