{"_id":"@akimeaki/null-to-undefined","_rev":"4-b9e446bb67a35c70fb161cea3a18606c","name":"@akimeaki/null-to-undefined","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@akimeaki/null-to-undefined","version":"1.0.0","license":"MIT","_id":"@akimeaki/null-to-undefined@1.0.0","maintainers":[{"name":"akimeaki","email":"kisimoto.aki@gmail.com"}],"dist":{"shasum":"94123bb3200a40ca237404a01478e8533fe0124c","tarball":"https://registry.npmjs.org/@akimeaki/null-to-undefined/-/null-to-undefined-1.0.0.tgz","fileCount":5,"integrity":"sha512-vkHANCsS9ipZgweD9EGuR8TMbwdiQty2hsMk/ksz4WpcZE0SMMbUsFE1MkT/nIxqlHCJ/amnkv0OD63thRE8Sg==","signatures":[{"sig":"MEUCIQCkj1tOCylb9Sybx5YcbGWPZy+OTXNSL7EBqoTvwmH9TQIgARec7LE7LQ3+1Ks3rTTpNED7CI/YI2Hw6ukq3VL1Dk4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2949},"main":"./modules/null-to-undefined.js","type":"module","types":"./modules/null-to-undefined.d.ts","engines":{"node":"20.16.0"},"gitHead":"430cc9bebb9ebc3d7c8d3c074ae2f2b5e095eac4","scripts":{"lint":"ESLINT_USE_FLAT_CONFIG=true eslint .","build":"rm -rf ./modules/* && tsc","format":"prettier --write './**/*'","lint:fix":"npm run lint -- --fix && npm run format"},"_npmUser":{"name":"akimeaki","email":"kisimoto.aki@gmail.com"},"_npmVersion":"10.8.1","description":"``` npm install @akimeaki/null-to-undefined ```","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","globals":"15.8.0","prettier":"3.3.3","@eslint/js":"9.8.0","typescript":"^5.2.2","typescript-eslint":"7.18.0","prettier-plugin-sh":"0.14.0","eslint-config-prettier":"9.1.0","@typescript-eslint/parser":"8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/null-to-undefined_1.0.0_1729198370648_0.49126402807377234","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@akimeaki/null-to-undefined","version":"1.0.1","license":"MIT","_id":"@akimeaki/null-to-undefined@1.0.1","maintainers":[{"name":"akimeaki","email":"kisimoto.aki@gmail.com"}],"homepage":"https://github.com/AkimeAki/Null-to-Undefined#readme","bugs":{"url":"https://github.com/AkimeAki/Null-to-Undefined/issues"},"dist":{"shasum":"2b7cf34479340f179563f53da300e0bb5854d0f3","tarball":"https://registry.npmjs.org/@akimeaki/null-to-undefined/-/null-to-undefined-1.0.1.tgz","fileCount":5,"integrity":"sha512-ylNXy6UKQe86eOS7CLEGh59F+tJ8VrYf5p56JxjFbtuxOJBmdiVDS9/bVNLZHrUvZvltftpCpgpicKKryajKtw==","signatures":[{"sig":"MEQCIB+sCXitT7idR2XG8xXI2IKE93IWC4V4q1rrvBE3NDQPAiBV0KHN51IUxwTHh2k68ogBk6/GJJUQCLYlfN7FslOTyA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3010},"main":"./modules/null-to-undefined.js","type":"module","types":"./modules/null-to-undefined.d.ts","gitHead":"5adf68437641a8301aa63aacb1d58eed1c5227e0","scripts":{"lint":"ESLINT_USE_FLAT_CONFIG=true eslint .","build":"rm -rf ./modules/* && tsc","format":"prettier --write './**/*'","lint:fix":"npm run lint -- --fix && npm run format"},"_npmUser":{"name":"akimeaki","email":"kisimoto.aki@gmail.com"},"repository":{"url":"git+https://github.com/AkimeAki/Null-to-Undefined.git","type":"git"},"_npmVersion":"10.8.1","description":"``` npm install @akimeaki/null-to-undefined ```","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","globals":"15.8.0","prettier":"3.3.3","@eslint/js":"9.8.0","typescript":"^5.2.2","typescript-eslint":"7.18.0","prettier-plugin-sh":"0.14.0","eslint-config-prettier":"9.1.0","@typescript-eslint/parser":"8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/null-to-undefined_1.0.1_1729198720826_0.7845845037440122","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@akimeaki/null-to-undefined","version":"1.1.0","license":"MIT","_id":"@akimeaki/null-to-undefined@1.1.0","maintainers":[{"name":"akimeaki","email":"aki@shikidori.net"}],"homepage":"https://github.com/AkimeAki/Null-to-Undefined#readme","bugs":{"url":"https://github.com/AkimeAki/Null-to-Undefined/issues"},"dist":{"shasum":"3c97e17766427db080406541bcf28fa31f70ce0c","tarball":"https://registry.npmjs.org/@akimeaki/null-to-undefined/-/null-to-undefined-1.1.0.tgz","fileCount":5,"integrity":"sha512-6NvkQwVbasUmmFwYxxqyV5L9qorgg5eeYTRy9HaJxvA8uGp4c2oOm4i8elgmyVHRsuXjlJpJcJsTpiQl1f+Cbw==","signatures":[{"sig":"MEYCIQCWY3o0DQgwkOdwi+I5+0nYqzPXy+tZE3qFCHgIKRBGfQIhANKAzqGVM70mADyfqjk5Q0/x2bOIb/DpYpLyoEM5oKMR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@akimeaki%2fnull-to-undefined@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4371},"main":"./modules/null-to-undefined.js","type":"module","types":"./modules/null-to-undefined.d.ts","volta":{"npm":"11.6.2","node":"24.12.0"},"engines":{"npm":"11.6.2","node":"24.12.0"},"gitHead":"c5e75f5c7c9b0db6c6b71fc335e1920f0b30c8a7","scripts":{"lint":"tsc --noEmit && biome lint","build":"rimraf ./modules/ && tsc","format":"biome format --write"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8a73ccd5-b0ea-4a11-9946-4c0e77809751"}},"repository":{"url":"git+https://github.com/AkimeAki/Null-to-Undefined.git","type":"git"},"_npmVersion":"11.6.2","description":"このパッケージは、`null` を `undefined` に変換するためのユーティリティです。 作者が個人的に使っている処理を切り出したものです。 好みベースの設計なので、必要に応じて自由に調整してください。","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"6.1.2","typescript":"5.2.2","@biomejs/biome":"2.3.10"},"_npmOperationalInternal":{"tmp":"tmp/null-to-undefined_1.1.0_1766771558226_0.6797033079488821","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@akimeaki/null-to-undefined","version":"1.1.1","type":"module","main":"./modules/null-to-undefined.js","types":"./modules/null-to-undefined.d.ts","volta":{"node":"24.12.0","npm":"11.6.2"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AkimeAki/Null-to-Undefined.git"},"scripts":{"build":"rimraf ./modules/ && tsc","format":"biome format --write","lint":"tsc --noEmit && biome lint"},"devDependencies":{"@biomejs/biome":"2.3.10","rimraf":"6.1.2","typescript":"5.2.2"},"gitHead":"01826808569e61f9b150289e460a748892d9b852","_id":"@akimeaki/null-to-undefined@1.1.1","description":"このパッケージは、`null` を `undefined` に変換するためのユーティリティです。 作者が個人的に使っている処理を切り出したものです。 好みベースの設計なので、必要に応じて自由に調整してください。","bugs":{"url":"https://github.com/AkimeAki/Null-to-Undefined/issues"},"homepage":"https://github.com/AkimeAki/Null-to-Undefined#readme","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-Oy7L6W2Pm5J6ZHQv2rZSDfD/aIls4d22ktadrNwo5z0RuPFQhA9lrJtTNRHFGCfX0DsSd/7nSNa7h6l6B/iF8g==","shasum":"b9970630dd91028fafeb3d7d050494e1c9f70e8c","tarball":"https://registry.npmjs.org/@akimeaki/null-to-undefined/-/null-to-undefined-1.1.1.tgz","fileCount":5,"unpackedSize":4314,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@akimeaki%2fnull-to-undefined@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIErkL+I5Bmew9DkG8YdOn98eOiowejf45zVPbHZtYtnkAiB79XOtijNWnhsIpxjiE8vZFYXVGFvIPht/P+SdVIvEPQ=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8a73ccd5-b0ea-4a11-9946-4c0e77809751"}},"directories":{},"maintainers":[{"name":"akimeaki","email":"aki@shikiiro.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/null-to-undefined_1.1.1_1766842324065_0.31670598031393715"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-17T20:52:50.519Z","modified":"2025-12-27T13:32:04.653Z","1.0.0":"2024-10-17T20:52:50.899Z","1.0.1":"2024-10-17T20:58:41.021Z","1.1.0":"2025-12-26T17:52:38.376Z","1.1.1":"2025-12-27T13:32:04.199Z"},"bugs":{"url":"https://github.com/AkimeAki/Null-to-Undefined/issues"},"license":"MIT","homepage":"https://github.com/AkimeAki/Null-to-Undefined#readme","repository":{"type":"git","url":"git+https://github.com/AkimeAki/Null-to-Undefined.git"},"description":"このパッケージは、`null` を `undefined` に変換するためのユーティリティです。 作者が個人的に使っている処理を切り出したものです。 好みベースの設計なので、必要に応じて自由に調整してください。","maintainers":[{"name":"akimeaki","email":"aki@shikiiro.net"}],"readme":"# About\n\nこのパッケージは、`null` を `undefined` に変換するためのユーティリティです。\n作者が個人的に使っている処理を切り出したものです。\n好みベースの設計なので、必要に応じて自由に調整してください。\n\nThis package is a utility for converting `null` values to `undefined`.\nIt is extracted from logic the author uses for personal projects.\nSince it is preference-based, feel free to adjust or customize it as needed.\n\n\n# インストール\n\n```\nnpm install @akimeaki/null-to-undefined\n```\n\n# 使い方\n\nnullToUndefined関数に渡した値にあるnullをundefinedに変換します。\n\n```js\nimport nullToUndefined from \"@akimeaki/null-to-undefined\";\n\n\nconst data = {\n\taaa: null,\n\tbbb: \"bbbb\",\n\tccc: [\n\t\tnull,\n\t\t1234\n\t]\n}\n\nconst result = nullToUndefined(data);\n```\n\nresultの中身\n```json\n{\n\taaa: undefined,\n\tbbb: \"bbbb\",\n\tccc: [\n\t\tundefined,\n\t\t1234\n\t]\n}\n```\n\n# License\n\nReleased under the [MIT license](https://opensource.org/license/mit)\n","readmeFilename":"README.md"}