{"_id":"@stroncium/procfs","_rev":"113013","name":"@stroncium/procfs","description":"Zero dependency library for reading and parsing various files from `procfs` for Node.js, implemented in pure JS.","dist-tags":{"latest":"1.2.1"},"maintainers":[{"name":"stroncium","email":"yanis.benson@gmail.com"}],"time":{"modified":"2021-06-03T10:45:28.000Z","created":"2019-07-03T21:25:46.044Z","1.2.1":"2020-03-27T23:23:52.846Z","1.2.0":"2020-03-27T23:15:39.058Z","1.1.1":"2020-02-03T14:49:14.317Z","1.1.0":"2020-02-02T13:12:21.869Z","1.0.0":"2019-09-21T14:53:01.983Z","0.4.0":"2019-07-18T21:59:50.234Z","0.3.0":"2019-07-14T17:38:56.745Z","0.2.2":"2019-07-04T13:01:53.886Z","0.2.1":"2019-07-04T12:30:07.159Z","0.1.2":"2019-07-03T21:28:34.357Z","0.1.1":"2019-07-03T21:26:52.125Z","0.1.0":"2019-07-03T21:25:46.044Z"},"users":{},"author":{"name":"Yanis Benson","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/stroncium/nodejs-procfs.git"},"versions":{"1.2.1":{"name":"@stroncium/procfs","version":"1.2.1","description":"Zero dependency library for reading and parsing various files from `procfs` for Node.js, implemented in pure JS.","main":"index.js","scripts":{"build:api-xml":"haxe -D use_rtti_doc -cp haxe -xml ./builder/.tmp/api.xml procfs.Procfs","build:clean-api-xml":"rm ./builder/.tmp/api.xml ./builder/.tmp/Main.n","build:docs-asserts":"cd ./builder/.tmp && SRC=./api.xml DST_API_MD=../../API.md DST_ASSERTS=../../test/fixtures/type/asserts.js haxe -cp ../ -x Main","build":"npm run build:api-xml && npm run build:docs-asserts && npm run build:clean-api-xml","coverage":"codecov","fulltest":"npm run build && npm run test","test":"nyc ava && xo"},"engines":{"node":">=8"},"author":{"name":"Yanis Benson","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"keywords":["proc","procfs","process","uptime","stat","statm","status","mountinfo","cpuinfo","loadavg","meminfo","diskstats","io","devices","filesystems","partitions","swaps","autogroup","cgroups","cmdline","comm","cpuset","cwd","environ","exe","fd","gid_map","limits","oom_score","personality","setgroups","timerslack_ns","uid_map","cmdline","config","version","nodejs","linux"],"license":"CC0-1.0","homepage":"https://github.com/stroncium/nodejs-procfs","bugs":{"url":"https://github.com/stroncium/nodejs-procfs/issues","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/stroncium/nodejs-procfs.git"},"devDependencies":{"ava":"^1.4.1","codecov":"^3.5.0","haxe":"^5.0.10","joi":"^14.3.1","nyc":"^14.1.1","xo":"^0.24.0"},"xo":{"rules":{"comma-dangle":["error","always-multiline"],"prefer-const":["off"],"padding-line-between-statements":["off"],"radix":["off"],"no-return-assign":["off"],"no-control-regex":["off"],"capitalized-comments":["off"],"spaced-comment":["off"],"unicorn/filename-case":["off"],"unicorn/no-hex-escape":["off"],"prefer-destructuring":["off"],"operator-assignment":["off"]}},"gitHead":"133f6e635daa0be4975ea8bfdb16ae2db22952e2","_id":"@stroncium/procfs@1.2.1","_nodeVersion":"12.13.1","_npmVersion":"6.14.2","dist":{"shasum":"6b9be6fd20fb0a4c20e99a8695e083c699bb2b45","size":15041,"noattachment":false,"key":"/@stroncium/procfs/-/@stroncium/procfs-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stroncium/procfs/download/@stroncium/procfs-1.2.1.tgz"},"maintainers":[{"name":"stroncium","email":"yanis.benson@gmail.com"}],"_npmUser":{"name":"stroncium","email":"yanis.benson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/procfs_1.2.1_1585351432669_0.08636431628180241"},"_hasShrinkwrap":false,"publish_time":1585351432846,"_cnpm_publish_time":1585351432846},"1.2.0":{"name":"@stroncium/procfs","version":"1.2.0","description":"Zero dependency library for reading and parsing various files from `procfs` for Node.js, implemented in pure JS.","main":"index.js","scripts":{"build:api-xml":"haxe -D use_rtti_doc -cp haxe -xml ./builder/.tmp/api.xml procfs.Procfs","build:clean-api-xml":"rm ./builder/.tmp/api.xml ./builder/.tmp/Main.n","build:docs-asserts":"cd ./builder/.tmp && SRC=./api.xml DST_API_MD=../../API.md DST_ASSERTS=../../test/fixtures/type/asserts.js haxe -cp ../ -x Main","build":"npm run build:api-xml && npm run build:docs-asserts && npm run build:clean-api-xml","coverage":"codecov","fulltest":"npm run build && npm run test","test":"nyc ava && xo"},"engines":{"node":">=8"},"author":{"name":"Yanis Benson","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"keywords":["proc","procfs","process","uptime","stat","statm","status","mountinfo","cpuinfo","loadavg","meminfo","diskstats","io","devices","filesystems","partitions","swaps","autogroup","cgroups","cmdline","comm","cpuset","cwd","environ","exe","fd","gid_map","limits","oom_score","personality","setgroups","timerslack_ns","uid_map","cmdline","config","version","nodejs","linux"],"license":"CC0-1.0","homepage":"https://github.com/stroncium/nodejs-procfs","bugs":{"url":"https://github.com/stroncium/nodejs-procfs/issues","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/stroncium/nodejs-procfs.git"},"devDependencies":{"ava":"^1.4.1","codecov":"^3.5.0","haxe":"^5.0.10","joi":"^14.3.1","nyc":"^14.1.1","xo":"^0.24.0"},"xo":{"rules":{"comma-dangle":["error","always-multiline"],"prefer-const":["off"],"padding-line-between-statements":["off"],"radix":["off"],"no-return-assign":["off"],"no-control-regex":["off"],"capitalized-comments":["off"],"spaced-comment":["off"],"unicorn/filename-case":["off"],"unicorn/no-hex-escape":["off"],"prefer-destructuring":["off"],"operator-assignment":["off"]}},"gitHead":"b427409d2b74991537d1c30cc1d1fc12b7ee32e9","_id":"@stroncium/procfs@1.2.0","_nodeVersion":"12.13.1","_npmVersion":"6.14.2","dist":{"shasum":"55d601fd324fdde5d0b1dd381adfd6b9cf467600","size":15037,"noattachment":false,"key":"/@stroncium/procfs/-/@stroncium/procfs-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stroncium/procfs/download/@stroncium/procfs-1.2.0.tgz"},"maintainers":[{"name":"stroncium","email":"yanis.benson@gmail.com"}],"_npmUser":{"name":"stroncium","email":"yanis.benson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/procfs_1.2.0_1585350938930_0.23068463566601816"},"_hasShrinkwrap":false,"publish_time":1585350939058,"_cnpm_publish_time":1585350939058},"1.1.1":{"name":"@stroncium/procfs","version":"1.1.1","description":"Zero dependency library for reading and parsing various files from `procfs` for Node.js, implemented in pure JS.","main":"index.js","scripts":{"build:api-xml":"haxe -D use_rtti_doc -cp haxe -xml ./builder/.tmp/api.xml procfs.Procfs","build:clean-api-xml":"rm ./builder/.tmp/api.xml ./builder/.tmp/Main.n","build:docs-asserts":"cd ./builder/.tmp && SRC=./api.xml DST_API_MD=../../API.md DST_ASSERTS=../../test/fixtures/type/asserts.js haxe -cp ../ -x Main","build":"npm run build:api-xml && npm run build:docs-asserts && npm run build:clean-api-xml","coverage":"codecov","fulltest":"npm run build && npm run test","test":"nyc ava && xo"},"engines":{"node":">=8"},"author":{"name":"Yanis Benson","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"keywords":["proc","procfs","process","uptime","stat","statm","status","mountinfo","cpuinfo","loadavg","meminfo","diskstats","io","devices","filesystems","partitions","swaps","autogroup","cgroups","cmdline","comm","cpuset","cwd","environ","exe","fd","gid_map","limits","oom_score","personality","setgroups","timerslack_ns","uid_map","cmdline","config","version","nodejs","linux"],"license":"CC0-1.0","homepage":"https://github.com/stroncium/nodejs-procfs","bugs":{"url":"https://github.com/stroncium/nodejs-procfs/issues","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/stroncium/nodejs-procfs.git"},"devDependencies":{"ava":"^1.4.1","codecov":"^3.5.0","haxe":"^5.0.10","joi":"^14.3.1","nyc":"^14.1.1","xo":"^0.24.0"},"xo":{"rules":{"comma-dangle":["error","always-multiline"],"prefer-const":["off"],"padding-line-between-statements":["off"],"radix":["off"],"no-return-assign":["off"],"no-control-regex":["off"],"capitalized-comments":["off"],"spaced-comment":["off"],"unicorn/filename-case":["off"],"unicorn/no-hex-escape":["off"],"prefer-destructuring":["off"],"operator-assignment":["off"]}},"gitHead":"363056448e9be51a7fa84f958b830a1ef41d5fae","_id":"@stroncium/procfs@1.1.1","_nodeVersion":"12.13.1","_npmVersion":"6.13.6","dist":{"shasum":"6ae4b4938cf3b6c3fb957f3063b2c0a8b26ee599","size":14978,"noattachment":false,"key":"/@stroncium/procfs/-/@stroncium/procfs-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stroncium/procfs/download/@stroncium/procfs-1.1.1.tgz"},"maintainers":[{"name":"stroncium","email":"yanis.benson@gmail.com"}],"_npmUser":{"name":"stroncium","email":"yanis.benson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/procfs_1.1.1_1580741353831_0.10941575594182118"},"_hasShrinkwrap":false,"publish_time":1580741354317,"_cnpm_publish_time":1580741354317},"1.1.0":{"name":"@stroncium/procfs","version":"1.1.0","description":"Zero dependency library for reading and parsing various files from `procfs` for Node.js, implemented in pure JS.","main":"index.js","scripts":{"build:api-xml":"haxe -D use_rtti_doc -cp haxe -xml ./builder/.tmp/api.xml procfs.Procfs","build:clean-api-xml":"rm ./builder/.tmp/api.xml ./builder/.tmp/Main.n","build:docs-asserts":"cd ./builder/.tmp && SRC=./api.xml DST_API_MD=../../API.md DST_ASSERTS=../../test/fixtures/type/asserts.js haxe -cp ../ -x Main","build":"npm run build:api-xml && npm run build:docs-asserts && npm run build:clean-api-xml","coverage":"codecov","fulltest":"npm run build && npm run test","test":"nyc ava && xo"},"engines":{"node":">=8"},"author":{"name":"Yanis Benson","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"keywords":["proc","procfs","process","uptime","stat","statm","status","mountinfo","cpuinfo","loadavg","meminfo","diskstats","io","devices","filesystems","partitions","swaps","autogroup","cgroups","cmdline","comm","cpuset","cwd","environ","exe","fd","gid_map","limits","oom_score","personality","setgroups","timerslack_ns","uid_map","cmdline","config","version","nodejs","linux"],"license":"CC0-1.0","homepage":"https://github.com/stroncium/nodejs-procfs","bugs":{"url":"https://github.com/stroncium/nodejs-procfs/issues","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/stroncium/nodejs-procfs.git"},"devDependencies":{"ava":"^1.4.1","codecov":"^3.5.0","haxe":"^5.0.10","joi":"^14.3.1","nyc":"^14.1.1","xo":"^0.24.0"},"xo":{"rules":{"comma-dangle":["error","always-multiline"],"prefer-const":["off"],"padding-line-between-statements":["off"],"radix":["off"],"no-return-assign":["off"],"no-control-regex":["off"],"capitalized-comments":["off"],"spaced-comment":["off"],"unicorn/filename-case":["off"],"unicorn/no-hex-escape":["off"],"prefer-destructuring":["off"],"operator-assignment":["off"]}},"gitHead":"864c1bcb6eeaca0e753d197b96fbc88edba56b40","_id":"@stroncium/procfs@1.1.0","_nodeVersion":"12.13.1","_npmVersion":"6.13.6","dist":{"shasum":"dcadd58692737bf4a196096de4fddba5ba7598c7","size":15051,"noattachment":false,"key":"/@stroncium/procfs/-/@stroncium/procfs-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stroncium/procfs/download/@stroncium/procfs-1.1.0.tgz"},"maintainers":[{"name":"stroncium","email":"yanis.benson@gmail.com"}],"_npmUser":{"name":"stroncium","email":"yanis.benson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/procfs_1.1.0_1580649141726_0.8065786190841353"},"_hasShrinkwrap":false,"publish_time":1580649141869,"_cnpm_publish_time":1580649141869},"1.0.0":{"name":"@stroncium/procfs","version":"1.0.0","description":"Zero dependency library for reading and parsing various files from `procfs` for Node.js, implemented in pure JS.","main":"index.js","scripts":{"build:api-xml":"haxe -D use_rtti_doc -cp haxe -xml ./builder/.tmp/api.xml procfs.Procfs","build:clean-api-xml":"rm ./builder/.tmp/api.xml ./builder/.tmp/Main.n","build:docs-asserts":"cd ./builder/.tmp && SRC=./api.xml DST_API_MD=../../API.md DST_ASSERTS=../../test/fixtures/type/asserts.js haxe -cp ../ -x Main","build":"npm run build:api-xml && npm run build:docs-asserts && npm run build:clean-api-xml","coverage":"codecov","fulltest":"npm run build && npm run test","test":"nyc --reporter=lcov ava && xo"},"engines":{"node":">=8"},"author":{"name":"Yanis Benson","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"keywords":["proc","procfs","process","uptime","stat","statm","status","mountinfo","cpuinfo","loadavg","meminfo","diskstats","io","devices","filesystems","partitions","swaps","autogroup","cgroups","cmdline","comm","cpuset","cwd","environ","exe","fd","gid_map","limits","oom_score","personality","setgroups","timerslack_ns","uid_map","cmdline","config","version","nodejs","linux"],"license":"CC0-1.0","homepage":"https://github.com/stroncium/nodejs-procfs","bugs":{"url":"https://github.com/stroncium/nodejs-procfs/issues","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/stroncium/nodejs-procfs.git"},"devDependencies":{"ava":"^1.4.1","codecov":"^3.5.0","haxe":"^5.0.10","joi":"^14.3.1","nyc":"^14.1.1","xo":"^0.24.0"},"xo":{"rules":{"comma-dangle":["error","always-multiline"],"prefer-const":["off"],"padding-line-between-statements":["off"],"radix":["off"],"no-return-assign":["off"],"no-control-regex":["off"],"capitalized-comments":["off"],"spaced-comment":["off"],"unicorn/filename-case":["off"],"unicorn/no-hex-escape":["off"],"prefer-destructuring":["off"],"operator-assignment":["off"]}},"gitHead":"c7a9fcf844c8133bd3203051fe5d92cd80544e3f","_id":"@stroncium/procfs@1.0.0","_nodeVersion":"12.10.0","_npmVersion":"6.11.3","dist":{"shasum":"b7989b3783070e1bc2f25cba7d4eab17e607f770","size":14986,"noattachment":false,"key":"/@stroncium/procfs/-/@stroncium/procfs-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stroncium/procfs/download/@stroncium/procfs-1.0.0.tgz"},"maintainers":[{"name":"stroncium","email":"yanis.benson@gmail.com"}],"_npmUser":{"name":"stroncium","email":"yanis.benson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/procfs_1.0.0_1569077581746_0.4771247113258643"},"_hasShrinkwrap":false,"publish_time":1569077581983,"_cnpm_publish_time":1569077581983},"0.4.0":{"name":"@stroncium/procfs","version":"0.4.0","description":"Zero dependency library for reading and parsing various files from `procfs` for Node.js, implemented in pure JS.","main":"index.js","scripts":{"build:api-xml":"haxe -D use_rtti_doc -cp haxe -xml ./builder/.tmp/api.xml procfs.Procfs","build:clean-api-xml":"rm ./builder/.tmp/api.xml ./builder/.tmp/Main.n","build:docs-asserts":"cd ./builder/.tmp && SRC=./api.xml DST_API_MD=../../API.md DST_ASSERTS=../../test/fixtures/type/asserts.js haxe -cp ../ -x Main","build":"npm run build:api-xml && npm run build:docs-asserts && npm run build:clean-api-xml","coverage":"codecov","fulltest":"npm run build && npm run test","test":"nyc --reporter=lcov ava && xo"},"engines":{"node":">=8"},"author":{"name":"Yanis Benson","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"keywords":["proc","procfs","process","uptime","stat","statm","status","mountinfo","cpuinfo","loadavg","meminfo","diskstats","io","devices","filesystems","partitions","swaps","autogroup","cgroups","cmdline","comm","cpuset","cwd","environ","exe","fd","gid_map","limits","oom_score","personality","setgroups","timerslack_ns","uid_map","cmdline","config","version","nodejs","linux"],"license":"CC0-1.0","homepage":"https://github.com/stroncium/nodejs-procfs","bugs":{"url":"https://github.com/stroncium/nodejs-procfs/issues","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/stroncium/nodejs-procfs.git"},"devDependencies":{"ava":"^1.4.1","codecov":"^3.5.0","haxe":"^5.0.10","joi":"^14.3.1","nyc":"^14.1.1","xo":"^0.24.0"},"xo":{"rules":{"comma-dangle":["error","always-multiline"],"prefer-const":["off"],"padding-line-between-statements":["off"],"radix":["off"],"no-return-assign":["off"],"no-control-regex":["off"],"capitalized-comments":["off"],"spaced-comment":["off"],"unicorn/filename-case":["off"],"unicorn/no-hex-escape":["off"],"prefer-destructuring":["off"],"operator-assignment":["off"]}},"gitHead":"b61703afd4b8b2489d04d33e949fb0f3e3d63fa3","_id":"@stroncium/procfs@0.4.0","_nodeVersion":"11.12.0","_npmVersion":"6.9.0","dist":{"shasum":"e87d9f084f24183eb7ff34e118dbef3c5d501d96","size":14761,"noattachment":false,"key":"/@stroncium/procfs/-/@stroncium/procfs-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stroncium/procfs/download/@stroncium/procfs-0.4.0.tgz"},"maintainers":[{"name":"stroncium","email":"yanis.benson@gmail.com"}],"_npmUser":{"name":"stroncium","email":"yanis.benson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/procfs_0.4.0_1563487190067_0.10988536645236668"},"_hasShrinkwrap":false,"publish_time":1563487190234,"_cnpm_publish_time":1563487190234},"0.3.0":{"name":"@stroncium/procfs","version":"0.3.0","description":"Zero dependency library for reading and parsing various files from `procfs` for Node.js, implemented in pure JS.","main":"index.js","scripts":{"build:api-xml":"haxe -D use_rtti_doc -cp haxe -xml ./builder/.tmp/api.xml procfs.Procfs","build:clean-api-xml":"rm ./builder/.tmp/api.xml ./builder/.tmp/Main.n","build:docs-asserts":"cd ./builder/.tmp && SRC=./api.xml DST_API_MD=../../api.md DST_ASSERTS=../../test/fixtures/type/asserts.js haxe -cp ../ -x Main","build":"npm run build:api-xml && npm run build:docs-asserts && npm run build:clean-api-xml","coverage":"codecov","fulltest":"npm run build && npm run test","test":"nyc --reporter=lcov ava && xo"},"engines":{"node":">=8"},"author":{"name":"Yanis Benson","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"keywords":["proc","procfs","process","uptime","stat","statm","status","mountinfo","cpuinfo","loadavg","meminfo","diskstats","io","devices","filesystems","partitions","swaps","autogroup","cgroups","cmdline","comm","cpuset","cwd","environ","exe","fd","gid_map","limits","oom_score","personality","setgroups","timerslack_ns","uid_map","cmdline","config","version","nodejs","linux"],"license":"CC0-1.0","homepage":"https://github.com/stroncium/nodejs-procfs","bugs":{"url":"https://github.com/stroncium/nodejs-procfs/issues","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/stroncium/nodejs-procfs.git"},"devDependencies":{"ava":"^1.4.1","codecov":"^3.5.0","haxe":"^5.0.10","joi":"^14.3.1","nyc":"^14.1.1","xo":"^0.24.0"},"xo":{"rules":{"comma-dangle":["error","always-multiline"],"prefer-const":["off"],"padding-line-between-statements":["off"],"radix":["off"],"no-return-assign":["off"],"no-control-regex":["off"],"capitalized-comments":["off"],"spaced-comment":["off"],"unicorn/filename-case":["off"],"unicorn/no-hex-escape":["off"],"prefer-destructuring":["off"],"operator-assignment":["off"]}},"gitHead":"7c3757ce5ad38b0cc3500d2e4699d1d0fe8e11c1","_id":"@stroncium/procfs@0.3.0","_nodeVersion":"11.12.0","_npmVersion":"6.9.0","dist":{"shasum":"080821b1672d3183ebe5855230da85f27cf203d8","size":14295,"noattachment":false,"key":"/@stroncium/procfs/-/@stroncium/procfs-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stroncium/procfs/download/@stroncium/procfs-0.3.0.tgz"},"maintainers":[{"name":"stroncium","email":"yanis.benson@gmail.com"}],"_npmUser":{"name":"stroncium","email":"yanis.benson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/procfs_0.3.0_1563125936627_0.06921592742653515"},"_hasShrinkwrap":false,"publish_time":1563125936745,"_cnpm_publish_time":1563125936745},"0.2.2":{"name":"@stroncium/procfs","version":"0.2.2","description":"Zero dependency library for reading and parsing various files from `procfs` for Node.js, implemented in pure JS.","main":"index.js","scripts":{"build:api-xml":"haxe -D use_rtti_doc -cp haxe -xml ./builder/.tmp/api.xml procfs.Procfs","build:clean-api-xml":"rm ./builder/.tmp/api.xml ./builder/.tmp/Main.n","build:docs-asserts":"cd ./builder/.tmp && SRC=./api.xml DST_API_MD=../../api.md DST_ASSERTS=../../test/fixtures/type/asserts.js haxe -cp ../ -x Main","build":"npm run build:api-xml && npm run build:docs-asserts && npm run build:clean-api-xml","coverage":"codecov","fulltest":"npm run build && npm run test","test":"nyc --reporter=lcov ava && xo"},"engines":{"node":">=8"},"author":{"name":"Yanis Benson","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"keywords":["proc","procfs","process","uptime","stat","statm","status","mountinfo","cpuinfo","loadavg","meminfo","diskstats","io","devices","filesystems","partitions","swaps","autogroup","cgroups","cmdline","comm","cpuset","cwd","environ","exe","fd","gid_map","limits","oom_score","personality","setgroups","timerslack_ns","uid_map","cmdline","config","version","nodejs","linux"],"license":"CC0-1.0","homepage":"https://github.com/stroncium/nodejs-procfs","bugs":{"url":"https://github.com/stroncium/nodejs-procfs/issues","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/stroncium/nodejs-procfs.git"},"devDependencies":{"ava":"^1.4.1","codecov":"^3.5.0","haxe":"^5.0.10","joi":"^14.3.1","nyc":"^14.1.1","xo":"^0.24.0"},"xo":{"rules":{"comma-dangle":["error","always-multiline"],"prefer-const":["off"],"padding-line-between-statements":["off"],"radix":["off"],"no-return-assign":["off"],"no-control-regex":["off"],"capitalized-comments":["off"],"spaced-comment":["off"],"unicorn/filename-case":["off"],"unicorn/no-hex-escape":["off"]}},"gitHead":"a7b5fb7213ac775bbd59a6e90c5e0902cbac7a87","_id":"@stroncium/procfs@0.2.2","_nodeVersion":"11.12.0","_npmVersion":"6.9.0","dist":{"shasum":"e59cd37364d3ee7d2c49b723960265ddd2730f32","size":15293,"noattachment":false,"key":"/@stroncium/procfs/-/@stroncium/procfs-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stroncium/procfs/download/@stroncium/procfs-0.2.2.tgz"},"maintainers":[{"name":"stroncium","email":"yanis.benson@gmail.com"}],"_npmUser":{"name":"stroncium","email":"yanis.benson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/procfs_0.2.2_1562245313733_0.9764802877225547"},"_hasShrinkwrap":false,"publish_time":1562245313886,"_cnpm_publish_time":1562245313886},"0.2.1":{"name":"@stroncium/procfs","version":"0.2.1","description":"Zero dependency library for reading and parsing various files from `procfs` for Node.js, implemented in pure JS.","main":"index.js","scripts":{"build:api-xml":"haxe -D use_rtti_doc -cp haxe -xml ./builder/.tmp/api.xml procfs.Procfs","build:clean-api-xml":"rm ./builder/.tmp/api.xml ./builder/.tmp/Main.n","build:docs-asserts":"cd ./builder/.tmp && SRC=./api.xml DST_API_MD=../../api.md DST_ASSERTS=../../test/fixtures/type/asserts.js haxe -cp ../ -x Main","build":"npm run build:api-xml && npm run build:docs-asserts && npm run build:clean-api-xml","fulltest":"npm run build && npm run test","test":"nyc ava && xo"},"engines":{"node":">=8"},"author":{"name":"Yanis Benson","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"keywords":["autogroup","cgroups","cmdline","comm","cpuset","cwd","environ","exe","fd","gid_map","io","limits","mountinfo","oom_score","personality","setgroups","stat","statm","status","timerslack_ns","uid_map","cmdline","config","cpuinfo","devices","diskstats","filesystems","loadavg","meminfo","partitions","stat","swaps","uptime","version","nodejs","linux","proc","procfs"],"license":"CC0-1.0","homepage":"https://github.com/stroncium/nodejs-procfs","bugs":{"url":"https://github.com/stroncium/nodejs-procfs/issues","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/stroncium/nodejs-procfs.git"},"devDependencies":{"ava":"^1.4.1","haxe":"^5.0.10","joi":"^14.3.1","nyc":"^14.1.1","xo":"^0.24.0"},"xo":{"rules":{"comma-dangle":["error","always-multiline"],"prefer-const":["off"],"padding-line-between-statements":["off"],"radix":["off"],"no-return-assign":["off"],"no-control-regex":["off"],"capitalized-comments":["off"],"spaced-comment":["off"],"unicorn/filename-case":["off"],"unicorn/no-hex-escape":["off"]}},"gitHead":"3e162007705e585b1178b3b9073834061f749759","_id":"@stroncium/procfs@0.2.1","_nodeVersion":"11.12.0","_npmVersion":"6.9.0","dist":{"shasum":"d2b5c915b58f7c229043629940423e3f043c7a45","size":15210,"noattachment":false,"key":"/@stroncium/procfs/-/@stroncium/procfs-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stroncium/procfs/download/@stroncium/procfs-0.2.1.tgz"},"maintainers":[{"name":"stroncium","email":"yanis.benson@gmail.com"}],"_npmUser":{"name":"stroncium","email":"yanis.benson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/procfs_0.2.1_1562243407054_0.6922553207553586"},"_hasShrinkwrap":false,"publish_time":1562243407159,"_cnpm_publish_time":1562243407159},"0.1.2":{"name":"@stroncium/procfs","version":"0.1.2","description":"Zero dependency set of functions to read and parse various file formats from procfs working in Node.js and imlemented in pure JS","main":"index.js","scripts":{"build:api-xml":"haxe -D use_rtti_doc -cp haxe -xml ./builder/.tmp/api.xml procfs.Procfs","build:clean-api-xml":"rm ./builder/.tmp/api.xml ./builder/.tmp/Main.n","build:docs-asserts":"cd ./builder/.tmp && SRC=./api.xml DST_API_MD=../../api.md DST_ASSERTS=../../test/fixtures/type/asserts.js haxe -cp ../ -x Main","build":"npm run build:api-xml && npm run build:docs-asserts && npm run build:clean-api-xml","test":"npm run build && npm run fasttest","fasttest":"nyc ava && xo"},"author":{"name":"Yanis Benson","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"keywords":["nodejs","procfs","proc","linux"],"license":"CC0-1.0","homepage":"https://github.com/stroncium/nodejs-procfs","bugs":{"url":"https://github.com/stroncium/nodejs-procfs/issues","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"devDependencies":{"ava":"^1.4.1","nodemark":"^0.3.0","joi":"^14.3.1"},"xo":{"rules":{"comma-dangle":["error","always-multiline"],"prefer-const":["off"],"padding-line-between-statements":["off"],"radix":["off"],"no-return-assign":["off"],"no-control-regex":["off"],"capitalized-comments":["off"],"spaced-comment":["off"],"unicorn/filename-case":["off"],"unicorn/no-hex-escape":["off"]}},"gitHead":"59f366b41b111cf67da8b78fc2df082ca84d106e","_id":"@stroncium/procfs@0.1.2","_nodeVersion":"11.12.0","_npmVersion":"6.9.0","dist":{"shasum":"95fd4b68e71b49bf1b7be85a4afd7b18fefda306","size":14849,"noattachment":false,"key":"/@stroncium/procfs/-/@stroncium/procfs-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stroncium/procfs/download/@stroncium/procfs-0.1.2.tgz"},"maintainers":[{"name":"stroncium","email":"yanis.benson@gmail.com"}],"_npmUser":{"name":"stroncium","email":"yanis.benson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/procfs_0.1.2_1562189314234_0.20257110164089198"},"_hasShrinkwrap":false,"publish_time":1562189314357,"_cnpm_publish_time":1562189314357},"0.1.1":{"name":"@stroncium/procfs","version":"0.1.1","description":"Zero dependency set of functions to read and parse various file formats from procfs working in Node.js and imlemented in pure JS","main":"index.js","scripts":{"build:api-xml":"haxe -D use_rtti_doc -cp haxe -xml ./builder/.tmp/api.xml procfs.Procfs","build:clean-api-xml":"rm ./builder/.tmp/api.xml ./builder/.tmp/Main.n","build:docs-asserts":"cd ./builder/.tmp && SRC=./api.xml DST_API_MD=../../api.md DST_ASSERTS=../../test/fixtures/type/asserts.js haxe -cp ../ -x Main","build":"npm run build:api-xml && npm run build:docs-asserts && npm run build:clean-api-xml","test":"npm run build && npm run fasttest","fasttest":"nyc ava && xo"},"author":{"name":"Yanis Benson","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"keywords":["nodejs","procfs","proc","linux"],"license":"CC0-1.0","homepage":"https://github.com/stroncium/nodejs-procfs","bugs":{"url":"https://github.com/stroncium/nodejs-procfs/issues","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"devDependencies":{"ava":"^1.4.1","nodemark":"^0.3.0","joi":"^14.3.1"},"xo":{"rules":{"comma-dangle":["error","always-multiline"],"prefer-const":["off"],"padding-line-between-statements":["off"],"radix":["off"],"no-return-assign":["off"],"no-control-regex":["off"],"capitalized-comments":["off"],"spaced-comment":["off"],"unicorn/filename-case":["off"],"unicorn/no-hex-escape":["off"]}},"gitHead":"59f366b41b111cf67da8b78fc2df082ca84d106e","_id":"@stroncium/procfs@0.1.1","_nodeVersion":"11.12.0","_npmVersion":"6.9.0","dist":{"shasum":"230f888ce9a20bf733dbf9657e05a29607602821","size":12193,"noattachment":false,"key":"/@stroncium/procfs/-/@stroncium/procfs-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stroncium/procfs/download/@stroncium/procfs-0.1.1.tgz"},"maintainers":[{"name":"stroncium","email":"yanis.benson@gmail.com"}],"_npmUser":{"name":"stroncium","email":"yanis.benson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/procfs_0.1.1_1562189211995_0.18610995163901034"},"_hasShrinkwrap":false,"publish_time":1562189212125,"_cnpm_publish_time":1562189212125},"0.1.0":{"name":"@stroncium/procfs","version":"0.1.0","description":"Zero dependency set of functions to read and parse various file formats from procfs working in Node.js and imlemented in pure JS","main":"index.js","scripts":{"build:api-xml":"haxe -D use_rtti_doc -cp haxe -xml ./builder/.tmp/api.xml procfs.Procfs","build:clean-api-xml":"rm ./builder/.tmp/api.xml ./builder/.tmp/Main.n","build:docs-asserts":"cd ./builder/.tmp && SRC=./api.xml DST_API_MD=../../api.md DST_ASSERTS=../../test/fixtures/type/asserts.js haxe -cp ../ -x Main","build":"npm run build:api-xml && npm run build:docs-asserts && npm run build:clean-api-xml","test":"npm run build && npm run fasttest","fasttest":"nyc ava && xo"},"author":{"name":"Yanis Benson","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"keywords":["nodejs","procfs","proc","linux"],"license":"CC0-1.0","homepage":"https://github.com/stroncium/nodejs-procfs","bugs":{"url":"https://github.com/stroncium/nodejs-procfs/issues","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"devDependencies":{"ava":"^1.4.1","nodemark":"^0.3.0","joi":"^14.3.1"},"xo":{"rules":{"comma-dangle":["error","always-multiline"],"prefer-const":["off"],"padding-line-between-statements":["off"],"radix":["off"],"no-return-assign":["off"],"no-control-regex":["off"],"capitalized-comments":["off"],"spaced-comment":["off"],"unicorn/filename-case":["off"],"unicorn/no-hex-escape":["off"]}},"gitHead":"59f366b41b111cf67da8b78fc2df082ca84d106e","_id":"@stroncium/procfs@0.1.0","_nodeVersion":"11.12.0","_npmVersion":"6.9.0","dist":{"shasum":"2aa24c4fdbd1c0fab11af32a9a3f977857f1c972","size":14847,"noattachment":false,"key":"/@stroncium/procfs/-/@stroncium/procfs-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stroncium/procfs/download/@stroncium/procfs-0.1.0.tgz"},"maintainers":[{"name":"stroncium","email":"yanis.benson@gmail.com"}],"_npmUser":{"name":"stroncium","email":"yanis.benson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/procfs_0.1.0_1562189145855_0.46285659544367075"},"_hasShrinkwrap":false,"publish_time":1562189146044,"_cnpm_publish_time":1562189146044}},"readme":"# procfs [![Build Status](https://travis-ci.com/stroncium/nodejs-procfs.svg?branch=master)](https://travis-ci.com/stroncium/nodejs-procfs) [![codecov](https://codecov.io/gh/stroncium/nodejs-procfs/branch/master/graph/badge.svg)](https://codecov.io/gh/stroncium/nodejs-procfs)\n\nZero dependency library for reading and parsing various files from `procfs` for Node.js, implemented in pure JS.\n\nLinux implements `procfs` filesystem mounted at `/proc`(usually). This filesystem is virtual, and can be used to extract various information about kernel state and running processes.\n\nCompatible with releases of Linux since 4.4 SLTS. Attempts to support new features from all the following releases. Features which are deprecated/discontinued in latest releases are not supported. Some features aren't expected to be used from Node.js and so were not implemented, if you need to use some of them, please open a feature request.\n\n## Example\n\n`npm install @stroncium/procfs`\n\n```js\nconst {\n\tprocfs,\n\tProcfsError,\n} = require('procfs');\n\nconsole.log(procfs.uptime()); // { time: 2514423.82, idle: 9658533.16 }\n\nconsole.log(procfs.processIo()); // { read: 66191, write: 147816, readSyscalls: 176, writeSyscalls: 498, readReal: 9805824, writeReal: 49152, writeCancelled: 0 }\n\nlet targetPid = 12345;\n\ntry {\n\tprocfs.processIo(targetPid);\n} catch (error) {\n\tif(error.code === ProcfsError.ERR_NOT_FOUND) {\n\t\tconsole.log('process ${targetPid} does not exist');\n\t}\n}\n```\n\n## API\n\nFull version of API is available in [API.md](https://github.com/stroncium/nodejs-procfs/blob/master/API.md).\n\nCurrently, the folowing `procfs` paths are supported by the library:\n - `/proc/*`: [procfs.processes](API.md#processes())\n - `/proc/<pid>/autogroup`: [procfs.processAutogroup](API.md#processAutogroup-pid)\n - `/proc/<pid>/cgroups`: [procfs.processCgroups](API.md#processCgroups-pid)\n - `/proc/<pid>/cmdline`: [procfs.processCmdline](API.md#processCmdline-pid)\n - `/proc/<pid>/comm`: [procfs.processComm](API.md#processComm-pid)\n - `/proc/<pid>/cpuset`: [procfs.processCpuset](API.md#processCpuset-pid)\n - `/proc/<pid>/cwd`: [procfs.processCwd](API.md#processCwd-pid)\n - `/proc/<pid>/environ`: [procfs.processEnviron](API.md#processEnviron-pid)\n - `/proc/<pid>/exe`: [procfs.processExe](API.md#processExe-pid)\n - `/proc/<pid>/fd/*`: [procfs.processFds](API.md#processFds-pid)\n - `/proc/<pid>/fd/<fd>`: [procfs.processFd](API.md#processFd-fd-pid)\n - `/proc/<pid>/fdinfo/<fd>`: [procfs.processFdinfo](API.md#processFdinfo-fd-pid)\n - `/proc/<pid>/gid_map`: [procfs.processGidMap](API.md#processGidMap-pid)\n - `/proc/<pid>/io`: [procfs.processIo](API.md#processIo-pid)\n - `/proc/<pid>/limits`: [procfs.processLimits](API.md#processLimits-pid)\n - `/proc/<pid>/mountinfo`: [procfs.processMountinfo](API.md#processMountinfo-pid)\n - `/proc/<pid>/net/dev`: [procfs.processNetDev](API.md#processNetDev-pid)\n - `/proc/<pid>/net/tcp6`: [procfs.processNetTcp6](API.md#processNetTcp6-pid)\n - `/proc/<pid>/net/tcp`: [procfs.processNetTcp4](API.md#processNetTcp4-pid)\n - `/proc/<pid>/net/udp6`: [procfs.processNetUdp6](API.md#processNetUdp6-pid)\n - `/proc/<pid>/net/udp`: [procfs.processNetUdp4](API.md#processNetUdp4-pid)\n - `/proc/<pid>/net/unix`: [procfs.processNetUnix](API.md#processNetUnix-pid)\n - `/proc/<pid>/net/wireless`: [procfs.processNetWireless](API.md#processNetWireless-pid)\n - `/proc/<pid>/oom_score`: [procfs.processOomScore](API.md#processOomScore-pid)\n - `/proc/<pid>/personality`: [procfs.processPersonality](API.md#processPersonality-pid)\n - `/proc/<pid>/stat`: [procfs.processStat](API.md#processStat-pid)\n - `/proc/<pid>/statm`: [procfs.processStatm](API.md#processStatm-pid)\n - `/proc/<pid>/status`: [procfs.processStatus](API.md#processStatus-pid)\n - `/proc/<pid>/task/*`: [procfs.processThreads](API.md#processThreads-pid)\n - `/proc/<pid>/timerslack_ns`: [procfs.processTimerslackNs](API.md#processTimerslackNs-pid)\n - `/proc/<pid>/uid_map`: [procfs.processUidMap](API.md#processUidMap-pid)\n - `/proc/cgroups`: [procfs.cgroups](API.md#cgroups())\n - `/proc/cmdline`: [procfs.cmdline](API.md#cmdline())\n - `/proc/config.gz`: [procfs.config](API.md#config())\n - `/proc/cpuinfo`: [procfs.cpuinfo](API.md#cpuinfo())\n - `/proc/devices`: [procfs.devices](API.md#devices())\n - `/proc/diskstats`: [procfs.diskstats](API.md#diskstats())\n - `/proc/filesystems`: [procfs.filesystems](API.md#filesystems())\n - `/proc/loadavg`: [procfs.loadavg](API.md#loadavg())\n - `/proc/meminfo`: [procfs.meminfo](API.md#meminfo())\n - `/proc/net/dev`: [procfs.netDev](API.md#netDev())\n - `/proc/net/tcp6`: [procfs.netTcp6](API.md#netTcp6())\n - `/proc/net/tcp`: [procfs.netTcp4](API.md#netTcp4())\n - `/proc/net/udp6`: [procfs.netUdp6](API.md#netUdp6())\n - `/proc/net/udp`: [procfs.netUdp4](API.md#netUdp4())\n - `/proc/net/unix`: [procfs.netUnix](API.md#netUnix())\n - `/proc/net/wireless`: [procfs.netWireless](API.md#netWireless())\n - `/proc/partitions`: [procfs.partitions](API.md#partitions())\n - `/proc/stat`: [procfs.stat](API.md#stat())\n - `/proc/swaps`: [procfs.swaps](API.md#swaps())\n - `/proc/uptime`: [procfs.uptime](API.md#uptime())\n - `/proc/version`: [procfs.version](API.md#version())\n\n## Custom procfs path\n\n```js\nconst {\n\tProcfs\n} = require('procfs');\n\nlet procfs = new Procfs('/custom/proc');\nconsole.log(procfs.uptime()); // { time: 2514423.82, idle: 9658533.16 }\n```\n\n## Performance\nGood performance is considered one of the main goals of this library, but for some calls which aren't expected to be used frequently the parsing might be done in sub-optimal(but still quite performant) way. If you encounter a need for performance optimizations of some call, please open an issue.\n\nCurrently, all the IO is done synchronously, in most cases it is faster than asynchronous IO for `procfs`.\nFor many methods, synchronous IO is *always* faster than asynchronous, as time required to perform full read synchronously is smaller than *just initializing* asynchronous read structures. For others, it is on par. In case when a lot of relatively big files are read at the same time, asynchronous IO can be faster on multi-core systems, so introducing async versions of methods is considered for future versions.\n\n## Development\n\n`npm run test` to perform a test without updating docs nor type asserts.\n\n`npm run fulltest` to `npm run build && npm run test`\n\n`npm run build` builds `API.md` and type asserts for tests from `haxe/procfs/Procfs.hx`.\n","_attachments":{},"homepage":"https://github.com/stroncium/nodejs-procfs","bugs":{"url":"https://github.com/stroncium/nodejs-procfs/issues","email":"yanis.benson+project.nodejs.procfs@gmail.com"},"license":"CC0-1.0"}