{"_id":"@humanfs/core","_rev":"3759197","name":"@humanfs/core","description":"The core of the humanfs library.","dist-tags":{"latest":"0.19.1"},"maintainers":[{"name":"nzakas","email":""}],"time":{"modified":"2025-03-27T07:14:07.000Z","created":"2024-01-30T00:34:31.961Z","0.19.1":"2024-10-28T13:55:50.943Z","0.19.0":"2024-09-09T19:44:25.149Z","0.18.2":"2024-06-13T15:51:38.862Z","0.18.1":"2024-06-12T18:07:07.124Z","0.18.0":"2024-06-12T17:49:07.499Z","0.17.0":"2024-03-20T17:58:31.457Z","0.16.1":"2024-03-14T19:00:48.492Z","0.16.0":"2024-03-13T19:01:47.837Z","0.15.0":"2024-02-29T00:26:00.755Z","0.14.0":"2024-02-27T00:04:12.794Z","0.13.0":"2024-02-24T00:58:25.311Z","0.12.0":"2024-02-19T21:41:16.357Z","0.11.0":"2024-02-14T00:30:51.519Z","0.10.0":"2024-02-09T21:17:50.408Z","0.9.0":"2024-02-08T23:17:04.615Z","0.8.0":"2024-02-07T00:02:56.201Z","0.7.0":"2024-01-31T23:51:27.656Z","0.6.0":"2024-01-30T00:34:31.961Z"},"users":{},"author":{"name":"Nicholas C. Zakas"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"versions":{"0.19.1":{"name":"@humanfs/core","version":"0.19.1","description":"The core of the humanfs library.","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","engines":{"node":">=18.18.0"},"devDependencies":{"@humanfs/types":"^0.15.0","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.19.1","gitHead":"514883417ddb4880179b4000d874d2d764e30f2d","_nodeVersion":"22.9.0","_npmVersion":"10.4.0","dist":{"shasum":"17c55ca7d426733fe3c561906b8173c336b40a77","size":14260,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.19.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.19.1.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.19.1_1730123750762_0.3628290915081207"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-28T13:55:50.943Z","publish_time":1730123750943,"_source_registry_name":"default","_cnpm_publish_time":1730123750943},"0.19.0":{"name":"@humanfs/core","version":"0.19.0","description":"The core of the humanfs library.","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","engines":{"node":">=18.18.0"},"devDependencies":{"@humanfs/types":"^0.15.0","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.19.0","gitHead":"85069f193cbacc371c3beb649ce746f8c5a493be","_nodeVersion":"20.13.1","_npmVersion":"10.4.0","dist":{"shasum":"08db7a8c73bb07673d9ebd925f2dad746411fcec","size":14170,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.19.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.19.0.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.19.0_1725911065001_0.8895859795475796"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-09T19:44:25.149Z","publish_time":1725911065149,"_source_registry_name":"default","_cnpm_publish_time":1725911065149},"0.18.2":{"name":"@humanfs/core","version":"0.18.2","description":"The core of the humanfs library.","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","engines":{"node":">=18.18.0"},"devDependencies":{"@humanfs/types":"^0.14.0","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.18.2","gitHead":"4baeedc39f7665d67e971c2021d699884d6d4e96","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"shasum":"cae8ac37e3249959a928a9b4da4a21b9c1f3fe44","size":13318,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.18.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.18.2.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.18.2_1718293898690_0.269901189946824"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-13T15:51:38.862Z","publish_time":1718293898862,"_source_registry_name":"default","_cnpm_publish_time":1718293898862},"0.18.1":{"name":"@humanfs/core","version":"0.18.1","description":"The core of the humanfs library.","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","engines":{"node":">=18.18.0"},"devDependencies":{"@humanfs/types":"^0.14.0","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.18.1","gitHead":"e08b2db62c8739e631dd3c915875d76bbc488ba3","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"shasum":"df3f1920819775d8e24ea397d4a8c835df1f95f6","size":13370,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.18.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.18.1.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.18.1_1718215626926_0.19588637507388107"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-12T18:07:07.124Z","publish_time":1718215627124,"_source_registry_name":"default","_cnpm_publish_time":1718215627124},"0.18.0":{"name":"@humanfs/core","version":"0.18.0","keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","_id":"@humanfs/core@0.18.0","maintainers":[{"name":"nzakas","email":""}],"homepage":"https://github.com/humanwhocodes/humanfs#readme","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"dist":{"shasum":"e062044a6acfab99c772367ecbc9d9c0f3da981e","size":13363,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.18.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.18.0.tgz"},"type":"module","types":"dist/index.d.ts","engines":{"node":">=18.18.0"},"exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"gitHead":"a4fce8ae31e4a163dd90052d5dc615e1072cd208","scripts":{"test":"c8 mocha tests","build":"tsc","prepare":"npm run build","pretest":"npm run build"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"repository":{"url":"git+https://github.com/humanwhocodes/humanfs.git","type":"git"},"_npmVersion":"10.7.0","description":"The core of the humanfs library.","directories":{},"_nodeVersion":"20.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2","@humanfs/types":"^0.14.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.18.0_1718214547319_0.36190642648496385","host":"s3://npm-registry-packages"},"_cnpmcore_publish_time":"2024-06-12T17:49:07.499Z","publish_time":1718214547499,"_source_registry_name":"default","_cnpm_publish_time":1718214547499},"0.17.0":{"name":"@humanfs/core","version":"0.17.0","description":"The core of the humanfs library.","type":"module","types":"dist/index.d.ts","exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","engines":{"node":">=18.18.0"},"devDependencies":{"@humanfs/types":"^0.13.0","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.17.0","gitHead":"08722e974e21766b1f75631f3035f0569b6cffea","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"shasum":"8b7b788b2a2f58c482acfedcb7be9d3c623e26ce","size":12425,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.17.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.17.0.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.17.0_1710957511290_0.31717156819892645"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-20T17:58:31.457Z","publish_time":1710957511457,"_source_registry_name":"default","_cnpm_publish_time":1710957511457},"0.16.1":{"name":"@humanfs/core","version":"0.16.1","description":"The core of the humanfs library.","type":"module","types":"dist/index.d.ts","exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","engines":{"node":">=18.18.0"},"devDependencies":{"@humanfs/types":"^0.12.0","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.16.1","gitHead":"121c3e482f94814f363114fbc3b946d151c6b235","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"shasum":"e8c06bbace6cbfe9b399e5a638027c7f08a20b3a","size":12379,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.16.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.16.1.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.16.1_1710442848310_0.08830412343439598"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-14T19:00:48.492Z","publish_time":1710442848492,"_source_registry_name":"default","_cnpm_publish_time":1710442848492},"0.16.0":{"name":"@humanfs/core","version":"0.16.0","description":"The core of the humanfs library.","type":"module","types":"dist/index.d.ts","exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","engines":{"node":">=18.18.0"},"devDependencies":{"@humanfs/types":"^0.12.0","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.16.0","gitHead":"12f28be00315db42c54ba4c41c2aba729fadc26c","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"shasum":"21dd45c6d49c63622f416c5cf2ca2cf2f48b51d1","size":12378,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.16.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.16.0.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.16.0_1710356507657_0.6494653273485196"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-13T19:01:47.837Z","publish_time":1710356507837,"_source_registry_name":"default","_cnpm_publish_time":1710356507837},"0.15.0":{"name":"@humanfs/core","version":"0.15.0","description":"The core of the humanfs library.","type":"module","types":"dist/index.d.ts","exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","engines":{"node":">=18.18.0"},"devDependencies":{"@humanfs/types":"^0.12.0","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.15.0","gitHead":"210e258aae0c35fd1b9232e02bd9243f087eba49","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"shasum":"3ae53ee73267777ca44f8eec567af43215a3ea62","size":12407,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.15.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.15.0.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.15.0_1709166360287_0.10886863865275198"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-29T00:26:00.755Z","publish_time":1709166360755,"_source_registry_name":"default","_cnpm_publish_time":1709166360755},"0.14.0":{"name":"@humanfs/core","version":"0.14.0","description":"The core of the humanfs library.","type":"module","types":"dist/index.d.ts","exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","engines":{"node":">=18.18.0"},"devDependencies":{"@humanfs/types":"^0.12.0","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.14.0","gitHead":"548a289733b023f0d30c6ce44d5c9327aabd105f","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"shasum":"5fc8dcd165d5f3259c49643b91bd389801b154cf","size":11877,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.14.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.14.0.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.14.0_1708992252627_0.45051304124767433"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-27T00:04:12.794Z","publish_time":1708992252794,"_source_registry_name":"default","_cnpm_publish_time":1708992252794},"0.13.0":{"name":"@humanfs/core","version":"0.13.0","description":"The core of the humanfs library.","type":"module","types":"dist/index.d.ts","exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","engines":{"node":">=18.18.0"},"devDependencies":{"@humanfs/types":"^0.11.0","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.13.0","gitHead":"33a6cd225abbac9fadfb8d2bedb413313a0157ba","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"shasum":"de5102e6b6050ecac85be46850ddf789c86c2a5e","size":11597,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.13.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.13.0.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.13.0_1708736305119_0.6693607959551766"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-24T00:58:25.311Z","publish_time":1708736305311,"_source_registry_name":"default","_cnpm_publish_time":1708736305311},"0.12.0":{"name":"@humanfs/core","version":"0.12.0","description":"The core of the humanfs library.","type":"module","types":"dist/index.d.ts","exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","engines":{"node":">=18.18.0"},"devDependencies":{"@humanfs/types":"^0.10.0","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.12.0","gitHead":"4d388e438d4432f200e0962fed25a6854d65b743","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"shasum":"80aae3c926d3d3a395081d49572be6864a71b457","size":10713,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.12.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.12.0.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.12.0_1708378876045_0.7954678924829361"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-19T21:41:16.357Z","publish_time":1708378876357,"_source_registry_name":"default","_cnpm_publish_time":1708378876357},"0.11.0":{"name":"@humanfs/core","version":"0.11.0","description":"The core of the humanfs library.","type":"module","types":"dist/index.d.ts","exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","engines":{"node":">=18.18.0"},"devDependencies":{"@humanfs/types":"^0.9.0","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.11.0","gitHead":"ca9bd8a11f2f9a9c3e3cf28a037b2838dcb32e1e","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"shasum":"e4ec0c8e1f702fa96cbcb628e6ef40ffcf24e3df","size":10592,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.11.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.11.0.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.11.0_1707870651367_0.4578413221457609"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-14T00:30:51.519Z","publish_time":1707870651519,"_source_registry_name":"default","_cnpm_publish_time":1707870651519},"0.10.0":{"name":"@humanfs/core","version":"0.10.0","description":"The core of the humanfs library.","type":"module","types":"dist/index.d.ts","exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","engines":{"node":">=18.18.0"},"devDependencies":{"@humanfs/types":"^0.8.0","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.10.0","gitHead":"9ef50654fa4cab2bf4f3104dec49189972df2fdc","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"shasum":"ea7a46052dec03e49812a0c229872b72ade15036","size":10314,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.10.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.10.0.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.10.0_1707513470188_0.8441781175468765"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-09T21:17:50.408Z","publish_time":1707513470408,"_source_registry_name":"default","_cnpm_publish_time":1707513470408},"0.9.0":{"name":"@humanfs/core","version":"0.9.0","description":"The core of the humanfs library.","type":"module","types":"dist/index.d.ts","exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","engines":{"node":">=18.18.0"},"devDependencies":{"@humanfs/types":"^0.7.0","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.9.0","gitHead":"98ad9217bec071f0530de68742771591e004e2f8","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"shasum":"8ab68b02dcb186e6938d40030dbf88f18bc8ea2e","size":10186,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.9.0.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.9.0_1707434224462_0.7202642682693898"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-08T23:17:04.615Z","publish_time":1707434224615,"_source_registry_name":"default","_cnpm_publish_time":1707434224615},"0.8.0":{"name":"@humanfs/core","version":"0.8.0","description":"The core of the humanfs library.","type":"module","types":"dist/index.d.ts","exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","engines":{"node":">=18.18.0"},"devDependencies":{"@humanfs/types":"^0.6.0","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.8.0","gitHead":"1afb8a9b48ea6eb0e5fe94f88951d60e98b80891","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"shasum":"951f7b683796ab9e96feba567440d74c3ec98069","size":10062,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.8.0.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.8.0_1707264175966_0.14124972356509247"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-07T00:02:56.201Z","publish_time":1707264176201,"_source_registry_name":"default","_cnpm_publish_time":1707264176201},"0.7.0":{"name":"@humanfs/core","version":"0.7.0","description":"The core of the humanfs library.","type":"module","types":"dist/index.d.ts","exports":{"import":{"types":"./dist/index.d.ts","default":"./src/index.js"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","engines":{"node":">=18.18.0"},"devDependencies":{"@humanfs/types":"^0.5.1","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.7.0","gitHead":"fecc5744622a96af6d7689c6338db49241191ccf","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"shasum":"6ba636c8aac3add152749e2a8af66918dd8bf4a7","size":9833,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.7.0.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.7.0_1706745087492_0.7550270262132199"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-31T23:51:27.656Z","publish_time":1706745087656,"_source_registry_name":"default","_cnpm_publish_time":1706745087656},"0.6.0":{"name":"@humanfs/core","version":"0.6.0","description":"The core of the humanfs library.","type":"module","types":"dist/index.d.ts","exports":{"import":{"default":"./src/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"npm run build","test":"c8 mocha tests"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/humanfs.git"},"publishConfig":{"access":"public"},"keywords":["filesystem","fs","hfs","files"],"author":{"name":"Nicholas C. Zakas"},"license":"Apache-2.0","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"homepage":"https://github.com/humanwhocodes/humanfs#readme","devDependencies":{"@humanfs/types":"^0.5.0","c8":"^9.0.0","mocha":"^10.2.0","typescript":"^5.2.2"},"_id":"@humanfs/core@0.6.0","gitHead":"ac91f0ea54f2f4b5644ff5383fa7cb8bbeda65f3","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"shasum":"4add5b64eb443d52be2016471fb64e4830bc070a","size":8473,"noattachment":false,"key":"/@humanfs/core/-/@humanfs/core-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanfs/core/download/@humanfs/core-0.6.0.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.6.0_1706574871801_0.9578446219623902"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-30T00:34:31.961Z","publish_time":1706574871961,"_source_registry_name":"default","_cnpm_publish_time":1706574871961}},"readme":"# `@humanfs/core`\n\nby [Nicholas C. Zakas](https://humanwhocodes.com)\n\nIf you find this useful, please consider supporting my work with a [donation](https://humanwhocodes.com/donate) or [nominate me](https://stars.github.com/nominate/) for a GitHub Star.\n\n## Description\n\nThe core functionality for humanfs that is shared across all implementations for all runtimes. The contents of this package are intentionally runtime agnostic and are not intended to be used alone.\n\nCurrently, this package simply exports the `Hfs` class, which is an abstract base class intended to be inherited from in runtime-specific hfs packages (like `@humanfs/node`).\n\n> [!WARNING]\n> This project is **experimental** and may change significantly before v1.0.0. Use at your own caution and definitely not in production!\n\n## Installation\n\n### Node.js\n\nInstall using your favorite package manager for Node.js:\n\n```shell\nnpm install @humanfs/core\n\n# or\n\npnpm install @humanfs/core\n\n# or\n\nyarn add @humanfs/core\n\n# or\n\nbun install @humanfs/core\n```\n\nThen you can import the `Hfs` and `Path` classes like this:\n\n```js\nimport { Hfs, Path } from \"@humanfs/core\";\n```\n\n### Deno\n\nInstall using [JSR](https://jsr.io):\n\n```shell\ndeno add @humanfs/core\n\n# or\n\njsr add @humanfs/core\n```\n\nThen you can import the `Hfs` class like this:\n\n```js\nimport { Hfs, Path } from \"@humanfs/core\";\n```\n\n### Browser\n\nIt's recommended to import the minified version to save bandwidth:\n\n```js\nimport { Hfs, Path } from \"https://cdn.skypack.dev/@humanfs/core?min\";\n```\n\nHowever, you can also import the unminified version for debugging purposes:\n\n```js\nimport { Hfs, Path } from \"https://cdn.skypack.dev/@humanfs/core\";\n```\n\n## Usage\n\n### `Hfs` Class\n\nThe `Hfs` class contains all of the basic functionality for an `Hfs` instance *without* a predefined impl. This class is mostly used for creating runtime-specific impls, such as `NodeHfs` and `DenoHfs`.\n\nYou can create your own instance by providing an `impl` directly:\n\n```js\nconst hfs = new Hfs({ impl: { async text() {} }});\n```\n\nThe specified `impl` becomes the base impl for the instance, meaning you can always reset back to it using `resetImpl()`.\n\nYou can also inherit from `Hfs` to create your own class with a preconfigured impl, such as:\n\n```js\nclass MyHfs extends Hfs {\n\tconstructor() {\n\t\tsuper({\n\t\t\timpl: myImpl\n\t\t});\n\t}\n}\n```\n\n### `Path` Class\n\nThe `Path` class represents the path to a directory or file within a file system. It's an abstract representation that can be used even outside of traditional file systems where string paths might not make sense.\n\n```js\nconst myPath = new Path([\"dir\", \"subdir\"]);\nconsole.log(myPath.toString());\t\t// \"dir/subdir\"\n\n// add another step\nmyPath.push(\"file.txt\");\nconsole.log(myPath.toString());\t\t// \"dir/subdir/file.txt\"\n\n// get just the last step\nconsole.log(myPath.name);\t\t\t// \"file.txt\"\n\n// change just the last step\nmyPath.name = \"file.json\";\nconsole.log(myPath.name);\t\t\t// \"file.json\"\nconsole.log(myPath.toString());\t\t// \"dir/subdir/file.json\"\n\n// get the size of the path\nconsole.log(myPath.size);\t\t\t// 3\n\n// remove the last step\nmyPath.pop();\nconsole.log(myPath.toString());\t\t// \"dir/subdir\"\n\n// iterate over the steps\nfor (const step of myPath) {\n\t// do something\n}\n\n// create a new path from a string\nconst newPath = Path.fromString(\"/foo/bar\");\n```\n\n## License\n\nApache 2.0\n","_attachments":{},"homepage":"https://github.com/humanwhocodes/humanfs#readme","bugs":{"url":"https://github.com/humanwhocodes/humanfs/issues"},"license":"Apache-2.0"}