{"_id":"@cntwg/file-helper","_rev":"4-93e638d88fc96a6852a59dbc4d60f5e0","name":"@cntwg/file-helper","dist-tags":{"beta":"0.0.2-b","latest":"0.0.4"},"versions":{"0.0.1":{"name":"@cntwg/file-helper","version":"0.0.1","author":{"name":"ygracs","email":"cs70th-om@rambler.ru"},"license":"MIT","_id":"@cntwg/file-helper@0.0.1","maintainers":[{"name":"ygracs","email":"cs70th-om@rambler.ru"}],"homepage":"https://gitlab.com/cntwg/file-helper#readme","bugs":{"url":"https://gitlab.com/cntwg/file-helper/issues"},"dist":{"shasum":"254fb84210fbe3259e5be49d27060dac852f3563","tarball":"https://registry.npmjs.org/@cntwg/file-helper/-/file-helper-0.0.1.tgz","fileCount":8,"integrity":"sha512-uqRTZV1a6IxkSIlIMDpUazkfTk2wMzuwqk/mziIOmF2SDsMno7xJ8U9x57vq1YY49B4oS7SdfQbfbh6Dl6oCew==","signatures":[{"sig":"MEUCIQCGlcgPcYjre900rwxxOsaknjYz5ZL4KC6z0SprgWfpfwIgMEuAQ7hoq4k8WLP6z0Wa7E0DhIHjlsbU/Y7hHy5tcV4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22398},"main":"./index.js","gitHead":"8e033a8d83f16db1499b368ba0f7e7c87bcbfad2","imports":{"#lib/*":"./lib/*","#test-dir/*":"./__test__/*"},"scripts":{"test":"jest","build-doc-md":"jsdoc2md","build-doc-html":"jsdoc"},"_npmUser":{"name":"ygracs","email":"cs70th-om@rambler.ru"},"repository":{"url":"git+https://gitlab.com/cntwg/file-helper.git","type":"git"},"_npmVersion":"8.19.2","description":"A small helper library to load/save file content","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","minimist":"^1.2.8","jsdoc-to-markdown":"^9.1.1"},"_npmOperationalInternal":{"tmp":"tmp/file-helper_0.0.1_1744126447538_0.6830971564368444","host":"s3://npm-registry-packages-npm-production"}},"0.0.2-b":{"name":"@cntwg/file-helper","version":"0.0.2-b","author":{"name":"ygracs","email":"cs70th-om@rambler.ru"},"license":"MIT","_id":"@cntwg/file-helper@0.0.2-b","maintainers":[{"name":"ygracs","email":"cs70th-om@rambler.ru"}],"homepage":"https://gitlab.com/cntwg/file-helper#readme","bugs":{"url":"https://gitlab.com/cntwg/file-helper/issues"},"dist":{"shasum":"b374b48b1e26f0f0810bd22b1209e8a9b8af7afa","tarball":"https://registry.npmjs.org/@cntwg/file-helper/-/file-helper-0.0.2-b.tgz","fileCount":11,"integrity":"sha512-Q0lph6x7NlFwOSeVHabvzgn7MnhWptgxWQIVMQGX1FSQ/uN6uNCjIy6ekiAek8I7704YPPGViKciMtm7rm0cWA==","signatures":[{"sig":"MEUCIQDRellWfA/yGGDCLKEFsiixEffW1FZPKBfKtCF/6lPj/AIgMh2dnLHn3vUR4q8sngr6HeXwFyXa0SDVtBb0zpo3qcY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24816},"main":"./index.js","types":"./index.d.ts","gitHead":"04c605650935d426f8efa391ee5db2b63eeb63e8","imports":{"#lib/*":"./lib/*","#test-dir/*":"./__test__/*"},"scripts":{"test":"jest","gen-dts":"npx -p typescript tsc","build-doc-md":"jsdoc2md","build-doc-html":"jsdoc"},"_npmUser":{"name":"ygracs","email":"cs70th-om@rambler.ru"},"repository":{"url":"git+https://gitlab.com/cntwg/file-helper.git","type":"git"},"_npmVersion":"11.6.4","description":"A small helper library to load/save file content","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^30.2.0","minimist":"^1.2.8","typescript":"~5.9.3","jsdoc-to-markdown":"^9.1.3","@ygracs/test-helper":"^0.0.1-b"},"_npmOperationalInternal":{"tmp":"tmp/file-helper_0.0.2-b_1764959181879_0.4738842863407955","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@cntwg/file-helper","version":"0.0.3","author":{"name":"ygracs","email":"cs70th-om@rambler.ru"},"license":"MIT","_id":"@cntwg/file-helper@0.0.3","maintainers":[{"name":"ygracs","email":"cs70th-om@rambler.ru"}],"homepage":"https://gitlab.com/cntwg/file-helper#readme","bugs":{"url":"https://gitlab.com/cntwg/file-helper/issues"},"dist":{"shasum":"56ba9868590bac83f8996362977bcf4bfee3aceb","tarball":"https://registry.npmjs.org/@cntwg/file-helper/-/file-helper-0.0.3.tgz","fileCount":11,"integrity":"sha512-c6tnmGIBMncefP+oyiiWpIQ/EWc2N4/nG6C/DU3ftjIbpfbzidvRlwHb2tuTNK+KqyUAK4VSV+dWFzAqtI+4Dg==","signatures":[{"sig":"MEQCIG1xILT/pINV//Z7m2vV/t/lQB+V83bTPItScpwFW1PIAiASG530ug0tJrO0hntr8WF+pdBFPBo96xDscve6L+lapw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25429},"main":"./index.js","types":"./index.d.ts","gitHead":"b023a7eefcad6a2c96c821d60b5bd934636f7105","imports":{"#lib/*":"./lib/*","#test-dir/*":"./__test__/*"},"scripts":{"test":"jest","gen-dts":"npx -p typescript tsc","build-doc-md":"jsdoc2md","build-doc-html":"jsdoc"},"_npmUser":{"name":"ygracs","email":"cs70th-om@rambler.ru"},"repository":{"url":"git+https://gitlab.com/cntwg/file-helper.git","type":"git"},"_npmVersion":"11.7.0","description":"A small helper library to load/save file content","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^30.2.0","minimist":"^1.2.8","typescript":"~5.9.3","jsdoc-to-markdown":"^9.1.3","@ygracs/test-helper":"~0.0.1-b"},"_npmOperationalInternal":{"tmp":"tmp/file-helper_0.0.3_1767638171296_0.5900265883220321","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@cntwg/file-helper","version":"0.0.4","description":"A small helper library to load/save file content","author":{"name":"ygracs","email":"cs70th-om@rambler.ru"},"license":"MIT","repository":{"type":"git","url":"git+https://gitlab.com/cntwg/file-helper.git"},"main":"./index.js","types":"./index.d.ts","scripts":{"test":"jest","build-doc-md":"jsdoc2md","build-doc-html":"jsdoc","gen-dts":"npx -p typescript tsc"},"imports":{"#lib/*":"./lib/*","#test-dir/*":"./__test__/*"},"devDependencies":{"@types/node":"~22.19.19","@ygracs/test-helper":"~0.0.2-b","jest":"^30.4.2","jsdoc-to-markdown":"^9.1.3","minimist":"^1.2.8","typescript":"~5.9.3"},"gitHead":"18871a3edde65239cc64b78cdb4d7a8c1d8b01e9","_id":"@cntwg/file-helper@0.0.4","bugs":{"url":"https://gitlab.com/cntwg/file-helper/issues"},"homepage":"https://gitlab.com/cntwg/file-helper#readme","_nodeVersion":"22.14.0","_npmVersion":"11.14.1","dist":{"integrity":"sha512-pATS9GoOnLlHqW0s7+Je358aZe+dHGZW45okltBtXTT5CVVQ3E5C7itvDc8ETuyRtI/DME0xAYE2+CjOe061pA==","shasum":"5e9fbd44fb3535e06092e208acd3b732cbad0b15","tarball":"https://registry.npmjs.org/@cntwg/file-helper/-/file-helper-0.0.4.tgz","fileCount":11,"unpackedSize":25224,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDLIY5+baMmHXUQ9izvnoogOIxKy2JXm6bsCaaAR/rFuAIhAJVuUmfiEatRQVqt/jyuVRejI4uzAHp11ioi6wdueXVB"}]},"_npmUser":{"name":"ygracs","email":"cs70th-om@rambler.ru"},"directories":{},"maintainers":[{"name":"ygracs","email":"cs70th-om@rambler.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/file-helper_0.0.4_1780595793987_0.48134885353613965"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-08T15:34:07.416Z","modified":"2026-06-04T17:56:34.336Z","0.0.1":"2025-04-08T15:34:07.747Z","0.0.2-b":"2025-12-05T18:26:22.023Z","0.0.3":"2026-01-05T18:36:11.451Z","0.0.4":"2026-06-04T17:56:34.175Z"},"bugs":{"url":"https://gitlab.com/cntwg/file-helper/issues"},"author":{"name":"ygracs","email":"cs70th-om@rambler.ru"},"license":"MIT","homepage":"https://gitlab.com/cntwg/file-helper#readme","repository":{"type":"git","url":"git+https://gitlab.com/cntwg/file-helper.git"},"description":"A small helper library to load/save file content","maintainers":[{"name":"ygracs","email":"cs70th-om@rambler.ru"}],"readme":">|***rev.*:**|0.0.2|\r\n>|:---|---:|\r\n>|date:|2025-04-08|\r\n\r\n## Introduction\r\n\r\nThis module provide a small helper library for load and save file content.\r\n\r\n## Content\r\n\r\n- Functions\r\n  - `checkFsError`;\r\n  - `loadFromFileSync`;\r\n  - `saveToFileSync`;\r\n  - `loadJSONFromFileSync`;\r\n  - `saveJSONToFileSync`.\r\n\r\n- Functions (async)\r\n  - `loadFromFile`;\r\n  - `saveToFile`;\r\n  - `loadJSONFromFile`;\r\n  - `saveJSONToFile`.\r\n\r\n> For more details see `file-helper.md` in the module `doc` directory.\r\n\r\n## Use cases\r\n\r\n### Installation\r\n\r\n`npm install @cntwg/file-helper`\r\n","readmeFilename":"README.md"}