{"_id":"path2d","_rev":"10-2c7306c071aca3516d56ba865dd0cded","name":"path2d","dist-tags":{"latest":"0.3.4"},"versions":{"0.0.1":{"name":"path2d","version":"0.0.1","keywords":["Path2D","polyfill","canvas","roundRect"],"author":{"name":"nilzona"},"license":"MIT","_id":"path2d@0.0.1","maintainers":[{"name":"nilzona_user","email":"nilssonanders79@gmail.com"}],"homepage":"https://github.com/nilzona/path2d-polyfill#readme","bugs":{"url":"https://github.com/nilzona/path2d-polyfill/issues"},"dist":{"shasum":"54fec2ef92ae8e622d8c399fced62f10e5fdc25c","tarball":"https://registry.npmjs.org/path2d/-/path2d-0.0.1.tgz","fileCount":7,"integrity":"sha512-PxH3lqy9AmyVxRj3NLJTLt8Y3ZtV1MB5DzFJ7OeOSJ1RKW1XH6X4O3TW8cqH5vWiB5ySuAPYxq1IAj00ojGZeg==","signatures":[{"sig":"MEUCIQDimpEtGM4r/tdBxYl6OBBDk9RCNazKZeTH3LeqQ1erLgIgbaf2El6hryAI91J5I+qIM/4Q2PxC9EE7ec4wvJqgLyo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47219},"main":"dist/index.cjs","type":"module","_from":"file:path2d-0.0.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=6"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"lint":"eslint .","test":"vitest run","build":"tsup-node src/index.ts --target node18 --format esm,cjs --dts","watch":"pnpm build --watch","test:watch":"vitest","check-types":"tsc --noEmit","format:check":"prettier --check '**' --ignore-unknown","format:write":"prettier --write '**' --ignore-unknown","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"nilzona_user","email":"nilssonanders79@gmail.com"},"prettier":"@qlik/prettier-config","_resolved":"/private/var/folders/vd/_cm8vng50bbbh9gy5_lqf0hr0000gp/T/781257b6d89978feac74ede575285b93/path2d-0.0.1.tgz","_integrity":"sha512-PxH3lqy9AmyVxRj3NLJTLt8Y3ZtV1MB5DzFJ7OeOSJ1RKW1XH6X4O3TW8cqH5vWiB5ySuAPYxq1IAj00ojGZeg==","repository":{"url":"git+https://github.com/nilzona/path2d-polyfill.git","type":"git"},"_npmVersion":"9.5.0","description":"Path2D API for node. Can be used for server-side rendering with canvas","directories":{},"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"8.0.2","eslint":"8.57.0","rimraf":"5.0.5","vitest":"1.4.0","prettier":"3.2.5","@swc/core":"1.4.8","typescript":"5.4.2","@types/node":"20.11.28","@qlik/tsconfig":"0.2.4","@qlik/eslint-config":"0.7.13","@vitest/coverage-v8":"1.4.0","@qlik/prettier-config":"0.4.11"},"_npmOperationalInternal":{"tmp":"tmp/path2d_0.0.1_1710629284644_0.18008352236749237","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"path2d","version":"0.1.1","keywords":["Path2D","polyfill","canvas","roundRect"],"author":{"name":"nilzona"},"license":"MIT","_id":"path2d@0.1.1","maintainers":[{"name":"nilzona_user","email":"nilssonanders79@gmail.com"}],"homepage":"https://github.com/nilzona/path2d-polyfill#readme","bugs":{"url":"https://github.com/nilzona/path2d-polyfill/issues"},"dist":{"shasum":"d3c3886cd2252fb2a7830c27ea7bb9a862d937ea","tarball":"https://registry.npmjs.org/path2d/-/path2d-0.1.1.tgz","fileCount":7,"integrity":"sha512-/+S03c8AGsDYKKBtRDqieTJv2GlkMb0bWjnqOgtF6MkjdUQ9a8ARAtxWf9NgKLGm2+WQr6+/tqJdU8HNGsIDoA==","signatures":[{"sig":"MEQCIEMX0WRKuGPz1MhhmyiGX+Y/dSud4CUcmV9QE+BhLncYAiAlGNFhBxZlvbKftMUKyrssK0vJK2PYiRz9720rW3rxoQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47268},"main":"dist/index.cjs","type":"module","_from":"file:path2d-0.1.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=6"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"lint":"eslint .","test":"vitest run","build":"tsup-node src/index.ts --target node18 --format esm,cjs --dts","watch":"pnpm build --watch","test:watch":"vitest","check-types":"tsc --noEmit","format:check":"prettier --check '**' --ignore-unknown","format:write":"prettier --write '**' --ignore-unknown","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"nilzona_user","email":"nilssonanders79@gmail.com"},"prettier":"@qlik/prettier-config","_resolved":"/tmp/c0dfa9859a979fbbc2b986d351b71b93/path2d-0.1.1.tgz","_integrity":"sha512-/+S03c8AGsDYKKBtRDqieTJv2GlkMb0bWjnqOgtF6MkjdUQ9a8ARAtxWf9NgKLGm2+WQr6+/tqJdU8HNGsIDoA==","repository":{"url":"git+https://github.com/nilzona/path2d-polyfill.git","type":"git"},"_npmVersion":"10.2.4","description":"Path2D API for node. Can be used for server-side rendering with canvas","directories":{},"_nodeVersion":"18.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.0.2","eslint":"8.57.0","rimraf":"5.0.5","vitest":"1.4.0","prettier":"3.2.5","@swc/core":"1.4.8","typescript":"5.4.2","@types/node":"20.11.28","@qlik/tsconfig":"0.2.4","@qlik/eslint-config":"0.7.13","@vitest/coverage-v8":"1.4.0","@qlik/prettier-config":"0.4.11"},"_npmOperationalInternal":{"tmp":"tmp/path2d_0.1.1_1710630926634_0.92970499977353","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"path2d","version":"0.1.2","keywords":["Path2D","polyfill","canvas","roundRect"],"author":{"name":"nilzona"},"license":"MIT","_id":"path2d@0.1.2","maintainers":[{"name":"nilzona_user","email":"nilssonanders79@gmail.com"}],"homepage":"https://github.com/nilzona/path2d-polyfill#readme","bugs":{"url":"https://github.com/nilzona/path2d-polyfill/issues"},"dist":{"shasum":"b6ae1dcce306cd75137cf6705961d128bbe8009a","tarball":"https://registry.npmjs.org/path2d/-/path2d-0.1.2.tgz","fileCount":7,"integrity":"sha512-LW++2uxgHNL/FANhgGTPo/yDDQcgsVbKotwIVbpTgTBgRlKUpjOpjp3s3+KjG4OWCQ/r6z+WLDljH1/fC03PWw==","signatures":[{"sig":"MEYCIQCQlb/Vgsl4S9ibjVEDNVhELSEZfrMSY1VIRXiJZt1dCQIhAIVnTmIRX2goLZ/fAntj9BatYtw6zagTZV2dp7KXo7OG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49813},"main":"dist/index.cjs","type":"module","_from":"file:path2d-0.1.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=6"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"lint":"eslint .","test":"vitest run","build":"tsup-node src/index.ts --target node18 --format esm,cjs --dts","watch":"pnpm build --watch","test:watch":"vitest","check-types":"tsc --noEmit","format:check":"prettier --check '**' --ignore-unknown","format:write":"prettier --write '**' --ignore-unknown","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"nilzona_user","email":"nilssonanders79@gmail.com"},"prettier":"@qlik/prettier-config","_resolved":"/tmp/9f677aeab308a3aefcae2d066f2c3a43/path2d-0.1.2.tgz","_integrity":"sha512-LW++2uxgHNL/FANhgGTPo/yDDQcgsVbKotwIVbpTgTBgRlKUpjOpjp3s3+KjG4OWCQ/r6z+WLDljH1/fC03PWw==","repository":{"url":"git+https://github.com/nilzona/path2d-polyfill.git","type":"git"},"_npmVersion":"10.2.4","description":"Path2D API for node. Can be used for server-side rendering with canvas","directories":{},"_nodeVersion":"18.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.0.2","eslint":"8.57.0","rimraf":"5.0.5","vitest":"1.4.0","prettier":"3.2.5","@swc/core":"1.4.8","typescript":"5.4.2","@types/node":"20.11.28","@qlik/tsconfig":"0.2.4","@qlik/eslint-config":"0.7.13","@vitest/coverage-v8":"1.4.0","@qlik/prettier-config":"0.4.11"},"_npmOperationalInternal":{"tmp":"tmp/path2d_0.1.2_1710703553587_0.5555343066975107","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"path2d","version":"0.2.0","keywords":["Path2D","polyfill","canvas","roundRect"],"author":{"name":"nilzona"},"license":"MIT","_id":"path2d@0.2.0","maintainers":[{"name":"nilzona_user","email":"nilssonanders79@gmail.com"}],"homepage":"https://github.com/nilzona/path2d-polyfill#readme","bugs":{"url":"https://github.com/nilzona/path2d-polyfill/issues"},"dist":{"shasum":"28bb0e8e6298b2a1adb75ab1b4ffd8c263c28c19","tarball":"https://registry.npmjs.org/path2d/-/path2d-0.2.0.tgz","fileCount":7,"integrity":"sha512-KdPAykQX6kmLSOO6Jpu2KNcCED7CKjmaBNGGNuctOsG0hgYO1OdYQaan6cYXJiG0WmXOwZZPILPBimu5QAIw3A==","signatures":[{"sig":"MEUCIQDxzRkz7OgiC3BehUPJtgZ/QxU+7zJ/KSErsvZVRLSpQgIgTwgXJFXFYQOfKbiZh5214GI0swhxzg1q62eCnjOeRFc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50912},"main":"dist/index.cjs","type":"module","_from":"file:path2d-0.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=6"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"lint":"eslint .","test":"vitest run","build":"tsup-node src/index.ts --target node18 --format esm,cjs --dts","watch":"pnpm build --watch","test:watch":"vitest","check-types":"tsc --noEmit","format:check":"prettier --check '**' --ignore-unknown","format:write":"prettier --write '**' --ignore-unknown","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"nilzona_user","email":"nilssonanders79@gmail.com"},"prettier":"@qlik/prettier-config","_resolved":"/tmp/4c03ec0605b30a24d01474fc4f073fba/path2d-0.2.0.tgz","_integrity":"sha512-KdPAykQX6kmLSOO6Jpu2KNcCED7CKjmaBNGGNuctOsG0hgYO1OdYQaan6cYXJiG0WmXOwZZPILPBimu5QAIw3A==","repository":{"url":"git+https://github.com/nilzona/path2d-polyfill.git","type":"git"},"_npmVersion":"10.2.4","description":"Path2D API for node. Can be used for server-side rendering with canvas","directories":{},"_nodeVersion":"18.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.0.2","eslint":"8.57.0","rimraf":"5.0.5","vitest":"1.4.0","prettier":"3.2.5","@swc/core":"1.4.11","typescript":"5.4.3","@types/node":"20.11.30","@qlik/tsconfig":"0.2.4","@qlik/eslint-config":"0.7.15","@vitest/coverage-v8":"1.4.0","@qlik/prettier-config":"0.4.11"},"_npmOperationalInternal":{"tmp":"tmp/path2d_0.2.0_1712233791381_0.44043801707784924","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"path2d","version":"0.2.1","keywords":["Path2D","polyfill","canvas","roundRect"],"author":{"name":"nilzona"},"license":"MIT","_id":"path2d@0.2.1","homepage":"https://github.com/nilzona/path2d-polyfill#readme","bugs":{"url":"https://github.com/nilzona/path2d-polyfill/issues"},"dist":{"shasum":"faf98e5e2222541805a6ac232adc026332330765","tarball":"https://registry.npmjs.org/path2d/-/path2d-0.2.1.tgz","fileCount":7,"integrity":"sha512-Fl2z/BHvkTNvkuBzYTpTuirHZg6wW9z8+4SND/3mDTEcYbbNKWAy21dz9D3ePNNwrrK8pqZO5vLPZ1hLF6T7XA==","signatures":[{"sig":"MEQCIGGMZIlEfgKzmV/VvksmkEjOVGa6/UMa62wIo3xmAF6hAiAehTTxnNQHmrohtLPA4qjJ+5szMcrTraKpv1lMIquCFg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50876},"main":"dist/index.cjs","type":"module","_from":"file:path2d-0.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=6"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"lint":"eslint .","test":"vitest run","build":"tsup-node src/index.ts --target node18 --format esm,cjs --dts","watch":"pnpm build --watch","test:watch":"vitest","check-types":"tsc --noEmit","format:check":"prettier --check '**' --ignore-unknown","format:write":"prettier --write '**' --ignore-unknown","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"nilzona_user","email":"nilssonanders79@gmail.com"},"prettier":"@qlik/prettier-config","_resolved":"/tmp/d4442b358215100036ed407069579cd4/path2d-0.2.1.tgz","_integrity":"sha512-Fl2z/BHvkTNvkuBzYTpTuirHZg6wW9z8+4SND/3mDTEcYbbNKWAy21dz9D3ePNNwrrK8pqZO5vLPZ1hLF6T7XA==","repository":{"url":"git+https://github.com/nilzona/path2d-polyfill.git","type":"git"},"_npmVersion":"10.7.0","description":"Path2D API for node. Can be used for server-side rendering with canvas","directories":{},"_nodeVersion":"20.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","eslint":"^8.57.0","rimraf":"^5.0.7","vitest":"^1.6.0","prettier":"^3.3.2","@swc/core":"^1.6.5","typescript":"^5.5.2","@types/node":"^20.14.9","@qlik/tsconfig":"^0.2.6","@qlik/eslint-config":"^0.7.25","@vitest/coverage-v8":"^1.6.0","@qlik/prettier-config":"^0.4.15"},"_npmOperationalInternal":{"tmp":"tmp/path2d_0.2.1_1719665377330_0.4351380571864356","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"path2d","version":"0.2.2","keywords":["Path2D","polyfill","canvas","roundRect"],"author":{"name":"nilzona"},"license":"MIT","_id":"path2d@0.2.2","maintainers":[{"name":"nilzona_user","email":"nilssonanders79@gmail.com"}],"homepage":"https://github.com/nilzona/path2d-polyfill#readme","bugs":{"url":"https://github.com/nilzona/path2d-polyfill/issues"},"dist":{"shasum":"cc85d61ed7827e7863a2ee36713d4b5315a3d85d","tarball":"https://registry.npmjs.org/path2d/-/path2d-0.2.2.tgz","fileCount":7,"integrity":"sha512-+vnG6S4dYcYxZd+CZxzXCNKdELYZSKfohrk98yajCo1PtRoDgCTrrwOvK1GT0UoAdVszagDVllQc0U1vaX4NUQ==","signatures":[{"sig":"MEUCIQCKKOk8NarKuoFoezqJIsNKsLb8K2VxjptAobWWLIGtPwIgetL81ud9HE00di0qoUoordsCAaYY5xS+4r77+xqb/kI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50859},"main":"dist/index.cjs","type":"module","_from":"file:path2d-0.2.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=6"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"lint":"eslint .","test":"vitest run","build":"tsup-node src/index.ts --target node18 --format esm,cjs --dts","watch":"pnpm build --watch","test:watch":"vitest","check-types":"tsc --noEmit","format:check":"prettier --check '**' --ignore-unknown","format:write":"prettier --write '**' --ignore-unknown","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"nilzona_user","email":"nilssonanders79@gmail.com"},"prettier":"@qlik/prettier-config","_resolved":"/tmp/c414d44a99007704dc49db6df83f40dd/path2d-0.2.2.tgz","_integrity":"sha512-+vnG6S4dYcYxZd+CZxzXCNKdELYZSKfohrk98yajCo1PtRoDgCTrrwOvK1GT0UoAdVszagDVllQc0U1vaX4NUQ==","repository":{"url":"git+https://github.com/nilzona/path2d-polyfill.git","type":"git"},"_npmVersion":"10.8.2","description":"Path2D API for node. Can be used for server-side rendering with canvas","directories":{},"_nodeVersion":"20.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","eslint":"^8.57.1","rimraf":"6.0.1","vitest":"2.1.4","prettier":"^3.3.3","@swc/core":"^1.9.1","typescript":"^5.6.3","@types/node":"22.9.0","@qlik/tsconfig":"^0.2.7","@qlik/eslint-config":"0.8.1","@vitest/coverage-v8":"2.1.4","@qlik/prettier-config":"^0.4.18"},"_npmOperationalInternal":{"tmp":"tmp/path2d_0.2.2_1730982413526_0.729668279835906","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"path2d","version":"0.3.0","keywords":["Path2D","polyfill","canvas","roundRect"],"author":{"name":"nilzona"},"license":"MIT","_id":"path2d@0.3.0","maintainers":[{"name":"nilzona_user","email":"nilssonanders79@gmail.com"}],"homepage":"https://github.com/nilzona/path2d-polyfill#readme","bugs":{"url":"https://github.com/nilzona/path2d-polyfill/issues"},"dist":{"shasum":"019ef84640bb3cff70e9621a3f1f02fd0a63a5fc","tarball":"https://registry.npmjs.org/path2d/-/path2d-0.3.0.tgz","fileCount":7,"integrity":"sha512-eEWumfpyD1luk/bo/NnyGN4ucoN9YhfSRB5v7hAcJUuK3+dWtI54tygmmbHJvkRZJS2f+wiBgpZC06sTvUascw==","signatures":[{"sig":"MEUCIDvpH6JzU/0ffZHn9Cq/pHS3pAzvvaqa8yJMJTcUGYvpAiEApZLygFwmhpiow39Hdne31eqQ1pBRQVakrX++X0jiBh0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":101260},"main":"dist/index.cjs","type":"module","_from":"file:path2d-0.3.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=6"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"lint":"cd ../.. && pnpm exec eslint ./packages/path2d","test":"vitest run","build":"tsup-node src/index.ts --target node18 --format esm,cjs --dts","watch":"pnpm build --watch","test:watch":"vitest","check-types":"tsc --noEmit","format:check":"cd ../.. && pnpm exec prettier --check 'packages/path2d-polyfill/**' --ignore-unknown","format:write":"cd ../.. && pnpm exec prettier --write 'packages/path2d-polyfill/**' --ignore-unknown","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"nilzona_user","actor":{"name":"nilzona_user","type":"user","email":"nilssonanders79@gmail.com"},"email":"nilssonanders79@gmail.com"},"prettier":"@qlik/prettier-config","_resolved":"/tmp/b4e0cbd0e27e01e1ba6a112896bca133/path2d-0.3.0.tgz","_integrity":"sha512-eEWumfpyD1luk/bo/NnyGN4ucoN9YhfSRB5v7hAcJUuK3+dWtI54tygmmbHJvkRZJS2f+wiBgpZC06sTvUascw==","repository":{"url":"git+https://github.com/nilzona/path2d-polyfill.git","type":"git"},"_npmVersion":"10.8.2","description":"Path2D API for node. Can be used for server-side rendering with canvas","directories":{},"_nodeVersion":"20.19.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","eslint":"^9.29.0","rimraf":"6.0.1","vitest":"3.2.4","prettier":"^3.5.3","@swc/core":"^1.12.5","typescript":"^5.8.3","@types/node":"24.0.3","@qlik/tsconfig":"^0.3.1","@qlik/eslint-config":"1.3.7","@vitest/coverage-v8":"3.2.4","@qlik/prettier-config":"^0.4.25"},"_npmOperationalInternal":{"tmp":"tmp/path2d_0.3.0_1750775749031_0.842744489874778","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"path2d","version":"0.3.1","keywords":["Path2D","polyfill","canvas","roundRect"],"author":{"name":"nilzona"},"license":"MIT","_id":"path2d@0.3.1","maintainers":[{"name":"nilzona_user","email":"nilssonanders79@gmail.com"}],"homepage":"https://github.com/nilzona/path2d-polyfill#readme","bugs":{"url":"https://github.com/nilzona/path2d-polyfill/issues"},"dist":{"shasum":"003ccd8ce04b9d01cb408eda44c1a5618a2aa7fe","tarball":"https://registry.npmjs.org/path2d/-/path2d-0.3.1.tgz","fileCount":7,"integrity":"sha512-GSruf/RONdlJgrz3fppp6Fro1r9xHdT2Uxw+rrTvmfwHSPl3AZwvnXVUJmyzsrOUEKl5tZDWCKLgdaMsMMUC+A==","signatures":[{"sig":"MEUCIQCbYwEB3URTryccb4ZV5knZtebBsHcpcl58Eex6Lf/i/QIgR76gZ5hCrzbYX5Ow/XW+dun9EnPbZA7o0bMPaKoq//E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":101066},"main":"dist/index.cjs","type":"module","_from":"file:path2d-0.3.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=6"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"lint":"cd ../.. && pnpm exec eslint ./packages/path2d","test":"vitest run","build":"tsup-node src/index.ts --target node18 --format esm,cjs --dts","watch":"pnpm build --watch","test:watch":"vitest","check-types":"tsc --noEmit","format:check":"cd ../.. && pnpm exec prettier --check 'packages/path2d-polyfill/**' --ignore-unknown","format:write":"cd ../.. && pnpm exec prettier --write 'packages/path2d-polyfill/**' --ignore-unknown","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"nilzona_user","actor":{"name":"nilzona_user","type":"user","email":"nilssonanders79@gmail.com"},"email":"nilssonanders79@gmail.com"},"_resolved":"/tmp/dc15fea56a3136f0f2bad60da50df8dd/path2d-0.3.1.tgz","_integrity":"sha512-GSruf/RONdlJgrz3fppp6Fro1r9xHdT2Uxw+rrTvmfwHSPl3AZwvnXVUJmyzsrOUEKl5tZDWCKLgdaMsMMUC+A==","repository":{"url":"git+https://github.com/nilzona/path2d-polyfill.git","type":"git"},"_npmVersion":"10.8.2","description":"Path2D API for node. Can be used for server-side rendering with canvas","directories":{},"_nodeVersion":"20.19.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","rimraf":"6.0.1","vitest":"3.2.4","typescript":"^5.8.3","@types/node":"24.0.3","@qlik/tsconfig":"^0.3.1","@vitest/coverage-v8":"3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/path2d_0.3.1_1750777497877_0.5718883117169413","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"path2d","version":"0.3.3","keywords":["Path2D","polyfill","canvas","roundRect"],"author":"nilzona","license":"MIT","_id":"path2d@0.3.3","maintainers":[{"name":"nilzona_user","email":"nilssonanders79@gmail.com"}],"homepage":"https://github.com/nilzona/path2d-polyfill#readme","bugs":{"url":"https://github.com/nilzona/path2d-polyfill/issues"},"dist":{"shasum":"47cc124f76bd179434074192e434b03a0bf5a7ed","tarball":"https://registry.npmjs.org/path2d/-/path2d-0.3.3.tgz","fileCount":7,"integrity":"sha512-wVz8vOQFX2m5Onr6u3XOtvhl8ag3/FXhN2n+yvdN+z/GIAkiMIe0fMa1yO6usvhgd9Oh7RxnDZTqk7Tl+JKWoQ==","signatures":[{"sig":"MEUCIQCqTVTlVrLm1Hutk5MYrk8v3gtARuU/d9oevb/8eTAKvAIgeYt8m8sS1RDEK5ekjGuFFRA2WXAuHWgAQHcwTY45kEQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":113801},"main":"dist/index.cjs","type":"module","module":"./dist/index.js","engines":{"node":">=6"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"lint":"cd ../.. && pnpm exec eslint ./packages/path2d","test":"vitest run","build":"tsdown","watch":"pnpm build --watch","test:watch":"vitest","check-types":"tsc --noEmit","format:check":"cd ../.. && pnpm exec prettier --check 'packages/path2d-polyfill/**' --ignore-unknown","format:write":"cd ../.. && pnpm exec prettier --write 'packages/path2d-polyfill/**' --ignore-unknown","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"nilzona_user","email":"nilssonanders79@gmail.com"},"repository":{"url":"git+https://github.com/nilzona/path2d-polyfill.git","type":"git"},"description":"Path2D API for node. Can be used for server-side rendering with canvas","directories":{},"_nodeVersion":"24.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"6.1.3","tsdown":"^0.22.2","@types/node":"^25.9.3","@qlik/tsconfig":"^1.0.0","@vitest/coverage-v8":"^4.1.9"},"_npmOperationalInternal":{"tmp":"tmp/path2d_0.3.3_1781603828261_0.8369120665448417","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"_id":"path2d@0.3.4","bugs":{"url":"https://github.com/nilzona/path2d-polyfill/issues"},"dist":{"shasum":"b9d3ae0fb7fed96084e2f392008d84ff424524c7","tarball":"https://registry.npmjs.org/path2d/-/path2d-0.3.4.tgz","fileCount":7,"integrity":"sha512-dsIw7IxOGfwLlf9x9VPmWdn9qtrKnSpESg+w1yBkp422q4ZG9vLIn0ZNzEYu4wCcAH2rGGtEQ1l20EXJP2areA==","signatures":[{"sig":"MEUCIQDVMi1PkS1amFl8jkLaXwO7C74KX9zGIj/AIYjGEvdNrgIgWDNfSBxgQlPp5brPGsB2WLg6DYjuPj/SgS/U9RV/w7w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFgv/HEosWxIXKx+YpP6byZDogb86F9iCqpRxlLwTzQEAiEAoCxzZP+glvxO6lU++toKJApm/15/MdZplJfQjqMJgzQ="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/path2d@0.3.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":113800},"main":"dist/index.cjs","name":"path2d","type":"module","author":"nilzona","module":"./dist/index.js","engines":{"node":">=6"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"license":"MIT","scripts":{"lint":"cd ../.. && pnpm exec eslint ./packages/path2d","test":"vitest run","build":"tsdown","watch":"pnpm build --watch","test:watch":"vitest","check-types":"tsc --noEmit","format:check":"cd ../.. && pnpm exec prettier --check 'packages/path2d-polyfill/**' --ignore-unknown","format:write":"cd ../.. && pnpm exec prettier --write 'packages/path2d-polyfill/**' --ignore-unknown","test:coverage":"vitest run --coverage"},"version":"0.3.4","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:93ec8b36-9261-4140-9dcc-e2b339c43564"}},"homepage":"https://github.com/nilzona/path2d-polyfill#readme","keywords":["Path2D","polyfill","canvas","roundRect"],"repository":{"url":"git+https://github.com/nilzona/path2d-polyfill.git","type":"git"},"description":"Path2D API for node. Can be used for server-side rendering with canvas","directories":{},"maintainers":[{"name":"nilzona_user","email":"nilssonanders79@gmail.com"}],"_nodeVersion":"24.19.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"6.1.3","tsdown":"^0.22.14","@types/node":"^26.2.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/path2d_0.3.4_1787261717665_0.7838642707576664"}}},"time":{"created":"2024-03-16T22:48:04.643Z","modified":"2026-08-20T21:35:18.159Z","0.0.1":"2024-03-16T22:48:04.794Z","0.1.1":"2024-03-16T23:15:26.830Z","0.1.2":"2024-03-17T19:25:53.748Z","0.2.0":"2024-04-04T12:29:51.639Z","0.2.1":"2024-06-29T12:49:37.467Z","0.2.2":"2024-11-07T12:26:53.730Z","0.3.0":"2025-06-24T14:35:49.215Z","0.3.1":"2025-06-24T15:04:58.074Z","0.3.3":"2026-06-16T09:57:08.439Z","0.3.4":"2026-08-20T21:35:17.746Z"},"bugs":{"url":"https://github.com/nilzona/path2d-polyfill/issues"},"author":"nilzona","license":"MIT","homepage":"https://github.com/nilzona/path2d-polyfill#readme","keywords":["Path2D","polyfill","canvas","roundRect"],"repository":{"url":"git+https://github.com/nilzona/path2d-polyfill.git","type":"git"},"description":"Path2D API for node. Can be used for server-side rendering with canvas","maintainers":[{"name":"nilzona_user","email":"nilssonanders79@gmail.com"}],"readme":"# path2d\n\n[![CI](https://github.com/nilzona/path2d-polyfill/actions/workflows/ci.yml/badge.svg)](https://github.com/nilzona/path2d-polyfill/actions/workflows/ci.yml)\n\nImplements `Path2D` api and `roundRect` for CanvasRenderingContext2D\n\n## Usage\n\n```shell\nnpm install --save path2d\n```\n\n## Use in a node environment\n\nThe package exports a few functions that can be used in a node environment:\n\n- `Path2D` - class to create Path2D objects used by the polyfill methods\n- `parsePath` - function for parsing an SVG path string into canvas commands\n- `roundRect` - implementation of roundRect using canvas commands\n- `applyPath2DToCanvasRenderingContext` - Adds Path2D functions (if needed) to a CanvasRenderingContext and augments the fill, stroke and clip command\n- `applyRoundRectToCanvasRenderingContext2D` - Adds roundRect function (if needed) to a CanvasRenderingContext\n\n```js\nimport { Path2D } from \"path2d\";\n```\n\n### usage with node-canvas\n\nTo get Path2D features with the [node-canvas library](https://github.com/Automattic/node-canvas) use the following pattern:\n\n```js\nconst { createCanvas, CanvasRenderingContext2D } = require(\"canvas\");\nconst { applyPath2DToCanvasRenderingContext, Path2D } = require(\"path2d\");\n\napplyPath2DToCanvasRenderingContext(CanvasRenderingContext2D);\n// Path2D features has now been added to CanvasRenderingContext2D\n\nconst canvas = createCanvas(200, 200);\nconst ctx = canvas.getContext(\"2d\");\n\nconst p = new Path2D(\"M10 10 l 20 0 l 0 20 Z\");\nctx.fillStyle = \"green\";\nctx.fill(p);\n```\n\nA working example of a node express server that serves an image drawn with canvas [can be seen here](https://gist.github.com/nilzona/e611c99336d8ea1f645bd391a459c24f)\n\n## Support table\n\n| Method               | Supported |\n| -------------------- | :-------: |\n| constructor(SVGPath) |    Yes    |\n| addPath()            |    Yes    |\n| closePath()          |    Yes    |\n| moveTo()             |    Yes    |\n| lineTo()             |    Yes    |\n| bezierCurveTo()      |    Yes    |\n| quadraticCurveTo()   |    Yes    |\n| arc()                |    Yes    |\n| ellipse()            |    Yes    |\n| rect()               |    Yes    |\n| roundRect()          |    Yes    |\n\n## See it in action\n\nClone [path2d-polyfill](https://github.com/nilzona/path2d-polyfill)\n\n```shell\npnpm install\npnpm dev\n```\n\nopen <http://localhost:5173/> to see the example page.\n\n## Contributing\n\nRecommended to use vscode with the prettier extension to keep formatting intact.\n","readmeFilename":""}