{"_id":"@c-collamar/psgc-transcoder","_rev":"8-fc758081c6d9c9e50dc5ca14ea4d471e","name":"@c-collamar/psgc-transcoder","dist-tags":{"latest":"2.1.1"},"versions":{"1.0.0":{"name":"@c-collamar/psgc-transcoder","version":"1.0.0","description":"Convert PSGC data from Excel to programmer-friendly JSON.","author":{"name":"Christian Collamar"},"license":"ISC","keywords":["psgc","philippines","philippine","standard","geographic","code","address","addressing","system","structure"],"types":"./types/index.d.ts","scripts":{"prepare":"npm run clean && npm run build","clean":"rm -rf ./lib/ ./types/","build":"npm run build:cjs && npm run build:es6 && npm run annotate","build:cjs":"tsc --outdir ./lib/cjs/ --module commonjs -p .","build:es6":"run-script-os","build:es6:windows":"mkdir .\\lib\\es6 && echo export * from \"../cjs/index.js\";> .\\lib\\es6\\index.mjs","build:es6:default":"mkdir -p ./lib/es6 && echo \"export * from \\\"../cjs/index.js\\\";\"> ./lib/es6/index.mjs","annotate":"tsc --rootDir ./src/ --declaration --emitDeclarationOnly --outDir ./types/"},"bin":{"psgc-t":"lib/cjs/index.js"},"devDependencies":{"@types/csv-parse":"^1.2.2","@types/node":"^16.6.1","@types/yargs":"^17.0.2","run-script-os":"^1.1.6","typescript":"^4.3.5"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/es6/index.mjs"},"dependencies":{"csv-parse":"^4.16.0","yargs":"^17.1.1"},"gitHead":"53bd87c8c2f3583cf04443b90415f109740cece9","_id":"@c-collamar/psgc-transcoder@1.0.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-/PvzDmi/kGCFfRaeae36hevdgrZ+p250UxcgUftw1SlUDcDlQs5jJV/Sx0XG82dstsZZoZQWysiRtU/XbvL4nA==","shasum":"e64e5f3140b91999458c55d4b636774ffdeada55","tarball":"https://registry.npmjs.org/@c-collamar/psgc-transcoder/-/psgc-transcoder-1.0.0.tgz","fileCount":11,"unpackedSize":13547,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNLMYCRA9TVsSAnZWagAAL5MQAILX6uch9fxqY5/yVxn4\nILQlZQYAYzREfgHr/ABRvbo13yxtqQ1Zrym5FEZQXizqTZdKLVXxMtlW+y2J\nAjF1dG5T9yR6mh/I2AaKPsFJa5YikwWEOVyxf2EiNPhG0RDEleS/+n2QpXzx\n31WZSFflhnH4RI+gsaP8xaureurDn/68A/4BFedIaV3t+AVuswyOrXp/GELu\nDgyT1QtaHKz9cbJiP1kyp9aeKwPYc918l9/h2NNOHkQ6BlPoPxmpyMtrHiTO\nU15o8Zqct68+NsBq1OP/xZXB6oTnNqbt+MmaC4HCB7QfXei8n8+HAnzLaiY0\nnwRL6/aFLJcrB2OMAubuFDYXtyxiL/THfYG8vxB7hXCEprFgPGEJ1l/0cIHC\n6j8utmfZKs9qipysLT8ApJ4yl9zFwzvbCLIaedeaLzv8DSQ9ML0sMc01+KyP\nO5tIJH4Eyhp+96v6NKUCtFdi6KdrCSEXmxcmCdZ5u7srmuc4ySvdRrVxzm0p\nkAvRc0C5hLSvrobancyHGQxgLQzYRW6qm0DbCoGqX9OCUWdTjLVBNKXdKI65\nHwYD4piwhMjV90eXDs6IWD5l0wZbm2TxpoCgOYVGdm609rMbdBXhdizJ5LCJ\nC5dcp268RLGApT2sNzDmq3x3I+F40QsWz23W1yUQMOA2YO29OgRezZAUaxJT\nPDFc\r\n=2DOg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAy26+BQq+JTn9Goh9goyPlQpjSADyixoK9ZKK4H/RsCAiB55rlKHSCaCovNoF8UHKDHykAMqIhUrWfhLseLiSopdw=="}]},"_npmUser":{"name":"c-collamar","email":"christian.collamar+npm@gmail.com"},"directories":{},"maintainers":[{"name":"c-collamar","email":"christian.collamar+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/psgc-transcoder_1.0.0_1630843672506_0.9483889507628964"},"_hasShrinkwrap":false},"2.0.0":{"name":"@c-collamar/psgc-transcoder","version":"2.0.0","description":"Convert PSGC data from Excel to programmer-friendly JSON.","author":{"name":"Christian Collamar"},"license":"ISC","keywords":["psgc","philippines","philippine","standard","geographic","code","address","addressing","system","structure"],"types":"./types/index.d.ts","scripts":{"prepare":"npm run clean && npm run build","clean":"run-script-os","clean:windows":"if exist .\\lib\\ rmdir /s /q .\\lib\\ && if exist .\\types\\ rmdir /s /q .\\types\\","clean:default":"rm -rf ./lib/ ./types/","build":"npm run build:cjs && npm run build:es6 && npm run annotate","build:cjs":"tsc --outdir ./lib/cjs/ --module commonjs -p .","build:es6":"run-script-os","build:es6:windows":"mkdir .\\lib\\es6 && echo export * from \"../cjs/index.js\";> .\\lib\\es6\\index.mjs","build:es6:default":"mkdir -p ./lib/es6 && echo \"export * from \\\"../cjs/index.js\\\";\"> ./lib/es6/index.mjs","annotate":"tsc --rootDir ./src/ --declaration --emitDeclarationOnly --outDir ./types/"},"bin":{"psgc-t":"lib/cjs/cli.js"},"devDependencies":{"@types/csv-parse":"^1.2.2","@types/node":"^16.6.1","@types/yargs":"^17.0.2","run-script-os":"^1.1.6","typescript":"^4.3.5"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/es6/index.mjs"},"dependencies":{"xlsx":"^0.17.2","yargs":"^17.1.1"},"gitHead":"167d5dcef4354172a227f0a4ccfcbfa6d74ac7fa","_id":"@c-collamar/psgc-transcoder@2.0.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-3ueGPhIK1nk/IHpB+tO8W3Ev+PBVy7uC6dHy1ei9wBh/w/5CBDTdZw1/k4aNKKDmwCFH5bcODredfGnwcBr3WQ==","shasum":"440b93811cd3dd7bf9324014c1138fe069fcfba1","tarball":"https://registry.npmjs.org/@c-collamar/psgc-transcoder/-/psgc-transcoder-2.0.0.tgz","fileCount":20,"unpackedSize":11355526,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4yyg10i8jtDfNqDYfWPIK1tKjXPhGT4HV3hE0GwsfRQIgERuZ9UqG7uGQAfDNA7BoG5qoay8pzG+cXwLncUdGw1E="}]},"_npmUser":{"name":"c-collamar","email":"christian.collamar+npm@gmail.com"},"directories":{},"maintainers":[{"name":"c-collamar","email":"christian.collamar+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/psgc-transcoder_2.0.0_1634580437756_0.05049396792636629"},"_hasShrinkwrap":false},"2.0.1":{"name":"@c-collamar/psgc-transcoder","version":"2.0.1","description":"Convert PSGC data from Excel to programmer-friendly JSON.","author":{"name":"Christian Collamar"},"license":"ISC","keywords":["psgc","philippines","philippine","standard","geographic","code","address","addressing","system","structure"],"types":"./types/index.d.ts","scripts":{"prepare":"npm run clean && npm run build","clean":"run-script-os","clean:windows":"if exist .\\lib\\ rmdir /s /q .\\lib\\ && if exist .\\types\\ rmdir /s /q .\\types\\","clean:default":"rm -rf ./lib/ ./types/","build":"npm run build:cjs && npm run build:es6 && npm run annotate","build:cjs":"tsc --outdir ./lib/cjs/ --module commonjs -p .","build:es6":"run-script-os","build:es6:windows":"mkdir .\\lib\\es6 && echo export * from \"../cjs/index.js\";> .\\lib\\es6\\index.mjs","build:es6:default":"mkdir -p ./lib/es6 && echo \"export * from \\\"../cjs/index.js\\\";\"> ./lib/es6/index.mjs","annotate":"tsc --rootDir ./src/ --declaration --emitDeclarationOnly --outDir ./types/"},"bin":{"psgc-t":"lib/cjs/cli.js"},"devDependencies":{"@types/csv-parse":"^1.2.2","@types/node":"^16.6.1","@types/yargs":"^17.0.2","run-script-os":"^1.1.6","typescript":"^4.3.5"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/es6/index.mjs"},"dependencies":{"xlsx":"^0.17.2","yargs":"^17.1.1"},"gitHead":"2eafc7008839e4c6055e2ca30d047cb3ac8cf55d","_id":"@c-collamar/psgc-transcoder@2.0.1","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-ozNUlFtpa+/5SIfwRsfIsjHugsKHnV8Q9FMMoZ4acokE8kyHlv3ZOI1xhDUhnvwdHzb8/R2LTXbNNNDU5DoyIw==","shasum":"2f8ebb7a39a6a7f297eaa5488de6ee918f9880d0","tarball":"https://registry.npmjs.org/@c-collamar/psgc-transcoder/-/psgc-transcoder-2.0.1.tgz","fileCount":19,"unpackedSize":8087466,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSH2ZaHQvNMrmvwbhmNr2hb1Vp9AG0cw9z5yBkzqhJyQIgSUogImuFGOXzbWWL7i+IjJOLJu6afR/5xYecdbsgHs0="}]},"_npmUser":{"name":"c-collamar","email":"christian.collamar+npm@gmail.com"},"directories":{},"maintainers":[{"name":"c-collamar","email":"christian.collamar+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/psgc-transcoder_2.0.1_1634580895115_0.179795528431562"},"_hasShrinkwrap":false},"2.0.2":{"name":"@c-collamar/psgc-transcoder","version":"2.0.2","description":"Convert PSGC data from Excel to programmer-friendly JSON.","author":{"name":"Christian Collamar"},"license":"ISC","keywords":["psgc","philippines","philippine","standard","geographic","code","address","addressing","system","structure"],"types":"./types/index.d.ts","scripts":{"prepare":"npm run clean && npm run build","clean":"run-script-os","clean:windows":"if exist .\\lib\\ rmdir /s /q .\\lib\\ && if exist .\\types\\ rmdir /s /q .\\types\\","clean:default":"rm -rf ./lib/ ./types/","build":"npm run build:cjs && npm run build:es6 && npm run annotate","build:cjs":"tsc --outdir ./lib/cjs/ --module commonjs -p .","build:es6":"run-script-os","build:es6:windows":"mkdir .\\lib\\es6 && echo export * from \"../cjs/index.js\";> .\\lib\\es6\\index.mjs","build:es6:default":"mkdir -p ./lib/es6 && echo \"export * from \\\"../cjs/index.js\\\";\"> ./lib/es6/index.mjs","annotate":"tsc --rootDir ./src/ --declaration --emitDeclarationOnly --outDir ./types/"},"bin":{"psgc-t":"lib/cjs/cli.js"},"devDependencies":{"@types/csv-parse":"^1.2.2","@types/node":"^16.6.1","@types/yargs":"^17.0.2","run-script-os":"^1.1.6","typescript":"^4.3.5"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/es6/index.mjs"},"dependencies":{"xlsx":"^0.17.2","yargs":"^17.1.1"},"gitHead":"13f1dceb22525b9a53f095e380067c806d37989d","_id":"@c-collamar/psgc-transcoder@2.0.2","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-34qRMM3dBDmS2Q95OZW1l7Ni3lmhvheAKa+tZt8cv+IgdR2r2UylMXurcC5RbZKJkIP7ATvgmZfA5pMTFpSvSw==","shasum":"959ea9d2fb47744e5af913a5247bf0f7b522fcbf","tarball":"https://registry.npmjs.org/@c-collamar/psgc-transcoder/-/psgc-transcoder-2.0.2.tgz","fileCount":17,"unpackedSize":32552,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBW7QWZA+xDoiX1gJ9s80DipVFyZqgUN0GdJ1wwJ2bEJAiEAzeYsIP/hTWR63pv5R8NjbfOOXKuhwMElqod1cXI91G8="}]},"_npmUser":{"name":"c-collamar","email":"christian.collamar+npm@gmail.com"},"directories":{},"maintainers":[{"name":"c-collamar","email":"christian.collamar+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/psgc-transcoder_2.0.2_1634581170199_0.7688521683203857"},"_hasShrinkwrap":false},"2.0.3":{"name":"@c-collamar/psgc-transcoder","version":"2.0.3","description":"Convert PSGC data from Excel to programmer-friendly JSON.","author":{"name":"Christian Collamar"},"license":"ISC","keywords":["psgc","philippines","philippine","standard","geographic","code","address","addressing","system","structure"],"types":"./types/index.d.ts","scripts":{"prepare":"npm run clean && npm run build","clean":"run-script-os","clean:windows":"if exist .\\lib\\ rmdir /s /q .\\lib\\ && if exist .\\types\\ rmdir /s /q .\\types\\","clean:default":"rm -rf ./lib/ ./types/","build":"npm run build:cjs && npm run build:es6 && npm run annotate","build:cjs":"tsc --outdir ./lib/cjs/ --module commonjs -p .","build:es6":"run-script-os","build:es6:windows":"mkdir .\\lib\\es6 && echo export * from \"../cjs/index.js\";> .\\lib\\es6\\index.mjs","build:es6:default":"mkdir -p ./lib/es6 && echo \"export * from \\\"../cjs/index.js\\\";\"> ./lib/es6/index.mjs","annotate":"tsc --rootDir ./src/ --declaration --emitDeclarationOnly --outDir ./types/"},"bin":{"psgc-t":"lib/cjs/cli.js"},"devDependencies":{"@types/csv-parse":"^1.2.2","@types/node":"^16.6.1","@types/yargs":"^17.0.2","run-script-os":"^1.1.6","typescript":"^4.3.5"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/es6/index.mjs"},"dependencies":{"xlsx":"^0.17.2","yargs":"^17.1.1"},"gitHead":"8412f110dde9928dc6c1d6310e8a4e3a66f093b9","_id":"@c-collamar/psgc-transcoder@2.0.3","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-YFH04VN/Qb4acz2+vzHqf0zbYV4kjKToei9IlmDKFdWb1oVJEr8gUpyUb9oa4m2vNAaShGR3kHblr5sI+wZIPQ==","shasum":"35e6276469af4c800ecb6cb7f00f046ddbf9f3a9","tarball":"https://registry.npmjs.org/@c-collamar/psgc-transcoder/-/psgc-transcoder-2.0.3.tgz","fileCount":17,"unpackedSize":33688,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDajdPq8MViJvbLKnXZfONQjwZYgrzjxCJDXMveromCMAiEAnJyag4Bltk5ysFqd8Vmjnzng9AvtcLfnRonBVjgNROI="}]},"_npmUser":{"name":"c-collamar","email":"christian.collamar+npm@gmail.com"},"directories":{},"maintainers":[{"name":"c-collamar","email":"christian.collamar+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/psgc-transcoder_2.0.3_1634586612992_0.938618345413794"},"_hasShrinkwrap":false},"2.0.4":{"name":"@c-collamar/psgc-transcoder","version":"2.0.4","description":"Convert PSGC data from Excel to programmer-friendly JSON.","author":{"name":"Christian Collamar"},"license":"ISC","keywords":["psgc","philippines","philippine","standard","geographic","code","address","addressing","system","structure"],"types":"./types/index.d.ts","scripts":{"prepare":"npm run clean && npm run build","clean":"run-script-os","clean:windows":"if exist .\\lib\\ rmdir /s /q .\\lib\\ && if exist .\\types\\ rmdir /s /q .\\types\\","clean:default":"rm -rf ./lib/ ./types/","build":"npm run build:cjs && npm run build:es6 && npm run annotate","build:cjs":"tsc --outdir ./lib/cjs/ --module commonjs -p .","build:es6":"run-script-os","build:es6:windows":"mkdir .\\lib\\es6 && echo export * from \"../cjs/index.js\";> .\\lib\\es6\\index.mjs","build:es6:default":"mkdir -p ./lib/es6 && echo \"export * from \\\"../cjs/index.js\\\";\"> ./lib/es6/index.mjs","annotate":"tsc --rootDir ./src/ --declaration --emitDeclarationOnly --outDir ./types/"},"bin":{"psgc-t":"lib/cjs/cli.js"},"devDependencies":{"@types/node":"^16.6.1","@types/yargs":"^17.0.2","run-script-os":"^1.1.6","typescript":"^4.3.5"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/es6/index.mjs"},"dependencies":{"xlsx":"^0.17.2","yargs":"^17.1.1"},"gitHead":"1ab03c94614ddf1885ef41bd548690317737dd52","_id":"@c-collamar/psgc-transcoder@2.0.4","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-1g4UhUyocr2RmhZGqpd5u18Pp6gwMm8HqMnsFhW1d9ky5iybSv1JAlK7edj+DlYPHnHT6pQ1u5LzcvYmdaeGaA==","shasum":"c59ce95ede1fb84fb6a1066aab5918b054ffd1f5","tarball":"https://registry.npmjs.org/@c-collamar/psgc-transcoder/-/psgc-transcoder-2.0.4.tgz","fileCount":17,"unpackedSize":32410,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUaqzPA9X6c3Dc00nnIAhXQPbIHth0iT9gjIozgtMOiwIhAOzq2YD0pNddNgMRvmLW0BkkUs4JKEn7Oh+kf2vKqjPW"}]},"_npmUser":{"name":"c-collamar","email":"christian.collamar+npm@gmail.com"},"directories":{},"maintainers":[{"name":"c-collamar","email":"christian.collamar+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/psgc-transcoder_2.0.4_1634587616168_0.4924595237175593"},"_hasShrinkwrap":false},"2.1.1":{"name":"@c-collamar/psgc-transcoder","version":"2.1.1","description":"Convert PSGC data from Excel to programmer-friendly JSON.","author":{"name":"Christian Collamar"},"license":"ISC","keywords":["psgc","philippines","philippine","standard","geographic","code","address","addressing","system","structure"],"types":"./types/index.d.ts","scripts":{"prepare":"npm run clean && npm run build","clean":"run-script-os","clean:windows":"if exist .\\lib\\ rmdir /s /q .\\lib\\ && if exist .\\types\\ rmdir /s /q .\\types\\","clean:default":"rm -rf ./lib/ ./types/","build":"npm run build:cjs && npm run build:es6 && npm run annotate","build:cjs":"tsc --outdir ./lib/cjs/ --module commonjs -p .","build:es6":"run-script-os","build:es6:windows":"mkdir .\\lib\\es6 && echo export * from \"../cjs/index.js\";> .\\lib\\es6\\index.mjs","build:es6:default":"mkdir -p ./lib/es6 && echo \"export * from \\\"../cjs/index.js\\\";\"> ./lib/es6/index.mjs","annotate":"tsc --rootDir ./src/ --declaration --emitDeclarationOnly --outDir ./types/"},"bin":{"psgc-t":"lib/cjs/cli.js"},"devDependencies":{"@types/node":"^16.6.1","@types/yargs":"^17.0.2","run-script-os":"^1.1.6","typescript":"^4.3.5"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/es6/index.mjs"},"dependencies":{"xlsx":"^0.17.2","yargs":"^17.1.1"},"gitHead":"6927956efaa0dddb09c7de845003c0bde7f7acbd","_id":"@c-collamar/psgc-transcoder@2.1.1","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-LlLF+JlV0OYxY0nu3w0GRQUhS4P9SuU2NthGGpj+455QXS7z+rPPQqyqS946XeVoqNo+ttCDSB1BGdE9IlsNKA==","shasum":"b52011214510a87bd7bc67e03a1a9e86473455fc","tarball":"https://registry.npmjs.org/@c-collamar/psgc-transcoder/-/psgc-transcoder-2.1.1.tgz","fileCount":17,"unpackedSize":34802,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzarRCRA9TVsSAnZWagAA0aUP/3vm1XQdsC1KrKubBepX\nkcXhhYJYd6yHsm9dd7oKcbhKg/NcJuMt68TbpO/mApHNEGzBzVVPyZdkJzbv\n8WgKnLvzf43ZfQOt3GcJIoIRDT2GjYVoHO1hDS4mUmJvqwj9JoOGLGjrd83O\nbqLts8T9JQcV6lDT0gQ53Ry27GHD6U/fK8IuO0YMl0M+tpxP5+sRj4OchpFl\naqcwQPTh8NIvNc3xt4HpHmAIQ7rxpEkah6xiFKJsuX3Gv/DidgVcfPTuPXmH\nNdEmni54UDjxKoLMFK0XzYnTAzBx28ZQqcfEdNqxSArkHjlHY29g+QMrdkZz\nA3vGCApcYKX6I/bYPYRIvm+5V/i0L6lk85mZXAJisGwJI/s63//kHqOIhnYK\nrfgDvFckRZyPEseuf/CdKbWR3fWygcs5Lpc2xs86WOuDp7PFOlYzGP59drOM\nOxRWvrvlCmfDf20DeCHto/LqRxska4sIq5HEUS2EeDFls+P8AI3FJrX0nATJ\neCG1Tp4GIpk3tlRrgpEGIWF3nbCkU/FfcokNU2+hyngGYH/aci6g0u19VS8q\ns8k5EKxvS4Ljmjp4UCz7DcjMAO2R83LFUsg+FMu1QVZCeNzCXCJds9KmfTBs\nER5B7vVWoeYw364xxWSAHhMWOkt3oGboQoXg+dpIt1G/p3z9LcG/WlvqK2lz\nArr9\r\n=Vthc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBdsxszZGSUBXCDamBHz81EjTHEhnQumv66t5X+ZYYdAAiEAq7+Y/fzIz+uWguM2/z1ardqHB8PrvEa+FtbZhI8ToaI="}]},"_npmUser":{"name":"c-collamar","email":"christian.collamar+npm@gmail.com"},"directories":{},"maintainers":[{"name":"c-collamar","email":"christian.collamar+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/psgc-transcoder_2.1.1_1635073662013_0.610085572123563"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-05T12:07:52.455Z","1.0.0":"2021-09-05T12:07:52.700Z","modified":"2022-04-04T21:23:44.926Z","2.0.0":"2021-10-18T18:07:18.043Z","2.0.1":"2021-10-18T18:14:55.368Z","2.0.2":"2021-10-18T18:19:30.386Z","2.0.3":"2021-10-18T19:50:13.189Z","2.0.4":"2021-10-18T20:06:56.297Z","2.1.1":"2021-10-24T11:07:42.176Z"},"maintainers":[{"name":"c-collamar","email":"christian.collamar+npm@gmail.com"}],"description":"Convert PSGC data from Excel to programmer-friendly JSON.","keywords":["psgc","philippines","philippine","standard","geographic","code","address","addressing","system","structure"],"author":{"name":"Christian Collamar"},"license":"ISC","readme":"**Update:** Since version 2, this package now works directly with the PSGC\r\n_.xlsx_ document! 🎉\r\n\r\nYou no longer have to extract PSGC Excel sheet data into a _.csv_ yourselves\r\n(which, by the way, will most likely get you into runtime errors if not done in\r\na particular, undocumented way).\r\n\r\n---\r\n\r\n# PSGC Transcoder\r\n\r\nConvert PSGC data from Excel to programmer-friendly JSON yourselves! You can\r\neven customize what part of the PSGC data to only include in the generated JSON.\r\n\r\n## CLI Quickstart\r\n\r\n1. Install this package.\r\n\r\n   ```bash\r\n   npm i -g @c-collamar/psgc-transcoder\r\n   ```\r\n\r\n1. Download any PSGC Excel document published by the Philippine Statistics\r\n   Authority which you want to convert into accessible JSON.\r\n   \r\n   Any recent versions of the PSGC document should work fine, like the _PSGC-2Q-2021-Publication-Datafile-01092021.xlsx_ ([direct download][2])\r\n   which is used in the development of this package.\r\n\r\n1. Convert that Excel document to JSON by running:\r\n\r\n   ```\r\n   psgc-t -i ./PSGC-2Q-2021-Publication-Datafile-01092021.xlsx -o ./psgc.json\r\n   ```\r\n\r\n   Replace the `-i` argument with the file path to your downloaded PSGC Excel\r\n   document, run the command above, and there you have it! You should have a new\r\n   _psgc.json_ file in your current working directory.\r\n\r\n## API Quickstart\r\n\r\nIn addition to its CLI, this package can also be imported into your scripts!\r\n\r\nAfter installing this package, import it as follows:\r\n\r\n```js\r\n// import into your ES module\r\nimport { transcode } from \"@c-collamar/psgc-transcoder\"\r\n\r\n// or import into your CommonJS module\r\nconst { transcode } = require(\"@c-collamar/psgc-transcoder\");\r\n```\r\n\r\nAnd then use like so:\r\n\r\n```js\r\n// equivalent to CLI command: psgc-t -i ./psgc.xlsx -o ./psgc.json\r\ntranscode('./psgc.xlsx', './psgc.json');\r\n```\r\n\r\nViola!\r\n\r\nNow the `transcode` function is cool, but there's actually more functionality\r\nbaked into this package's API. See the API Reference section for more\r\ninformation.\r\n\r\n## CLI Options\r\n\r\n* `--input`, `-i` (required)\r\n\r\n  **Input filepath.** Specify the filepath to an existing PSGC Excel document\r\n  that you want to transcode.\r\n\r\n* `--output`, `-o` (required)\r\n\r\n  **Output filepath.** Specify the filepath to the JSON that will be generated,\r\n  including the filename appended by the _.json_ extension.\r\n\r\n* `--include`, `-a` (optional)\r\n\r\n  **Includes.** Explicitly specify which PSGC properties to only include in the\r\n  generated JSON, separated by spaces. By default, all PSGC properties are\r\n  included.\r\n  \r\n  See the help text below to know what PSGC properties are allowed to be\r\n  specified. Also note that the `code` PSGC property will be included regarless\r\n  if you omit it from this option.\r\n\r\n* `--help`, `-h`\r\n\r\n  **Help text.** Display all available CLI options, along with few examples for\r\n  your reference.\r\n\r\n   ```\r\n   Usage: psgc-t -i <filepath> -o <filepath>\r\n\r\n   Options:\r\n       --version  Show version number                                   [boolean]\r\n   -h             Learn how to transpile PSGC to JSON.                  [boolean]\r\n   -i, --input    Path to the input PSGC XLSX.                [string]  [required]\r\n   -o, --output   Path to output the generated PSGC JSON.     [string]  [required]\r\n   -a, --include  Space-separated PSGC fields to include in the output. [array]\r\n                  [choices: \"code\", \"name\", \"level\", \"old_name\", \"class\", \"income\", \"type\", \"population\"]\r\n                  [default: [\"code\", \"name\", \"level\", \"old_name\", \"class\", \"income\", \"type\", \"population\"]]\r\n\r\n   Examples:\r\n   psgc-t -i ./psgc.xlsx -o ./psgc.json                 Read PSGC XLSX, output PSGC JSON.\r\n   psgc-t -i ./psgc.xlsx -o ./psgc.json -a name level   Only include \"code\", \"name\" and \"level\" PSGC properties in the generated JSON.\r\n   ```\r\n\r\n* `--version`\r\n\r\n  **Version number.** Display the version number of this package.\r\n\r\n## API Reference\r\n\r\n_This section is a work in progress. In the meantime, feel free to explore the\r\nexported goodies this package offers yourselves, with the aid of your favorite\r\ncode editors. I made this package with love, so it's\r\nwell-documented, and is type-strict. Hope you like it!_ ❤\r\n\r\n## Motivation\r\n\r\nI wanted to use the [Philippine Standard Geographic Code][1] (PSGC) standard for\r\none of my projects. The problem was that the PSGC is only being officially\r\nissued as an _.xlsx_ document. This means bad news for programmers, because\r\nthere's no direct way to pull PSGC data out of Excel and into the Node.js\r\nenvironment.\r\n\r\nI looked into existing PSGC implementations for Node. Unfortunately, I don't\r\nfind any of them good enough. Some are barely being maintained. Others have\r\noutdated PSGC data. Not to mention they are figgin' heavy!\r\n\r\nSo, in an effort to make PSGC easier to work with, I made this tool. I\r\nexhanged emails with the PSA to make sure my implementation closely matches the\r\nstandard.\r\n\r\nThis transcoder is just one of three things I'm working on to make PSGC\r\neasier to integrate with; not only into my projects, but yours as well.\r\n\r\nAnother package I'm working on is a PSGC reader, that will read the JSON file\r\ngenerated by this transcoder, and will give you the productivity you need to\r\nactually just with PSGC directly; all one nice API. It's going to save us the\r\npain from us having to manually transcode, parse the transcoding, and navigate\r\nthe parsed object. Watch out for it!\r\n\r\n[1]: https://psa.gov.ph/classification/psgc/\r\n[2]: https://psa.gov.ph/classification/psgc/downloads/PSGC-2Q-2021-Publication-Datafile-01092021.xlsx","readmeFilename":"readme.md"}