{"_id":"pe-library","_rev":"4246247","name":"pe-library","description":"Node.js library for Portable Executable format","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"jet2jet","email":""}],"time":{"modified":"2026-03-29T21:35:46.000Z","created":"2021-12-10T11:38:55.497Z","2.0.1":"2025-11-03T00:57:39.924Z","2.0.0":"2025-10-17T09:22:46.821Z","0.4.1":"2024-08-10T10:54:11.655Z","1.0.1":"2024-04-19T11:12:45.987Z","1.0.0":"2023-02-23T07:55:03.007Z","0.4.0":"2023-01-29T01:06:33.909Z","0.3.0":"2022-05-06T06:07:07.679Z","0.2.1":"2022-01-03T03:44:43.213Z","0.2.0":"2022-01-03T03:43:00.338Z","0.1.3":"2021-12-10T12:04:42.596Z","0.1.2":"2021-12-10T11:51:56.599Z","0.1.1":"2021-12-10T11:45:03.070Z","0.1.0":"2021-12-10T11:38:55.497Z"},"users":{},"author":{"name":"jet"},"repository":{"type":"git","url":"git+https://github.com/jet2jet/pe-library-js.git"},"versions":{"2.0.1":{"name":"pe-library","version":"2.0.1","engines":{"node":">=20"},"description":"Node.js library for Portable Executable format","module":"./dist/index.js","type":"module","exports":{".":"./dist/index.js","./cjs":{"require":"./cjs.cjs"}},"types":"./dist/index.d.ts","author":{"name":"jet"},"license":"MIT","homepage":"https://github.com/jet2jet/pe-library-js","keywords":["javascript","library","pe","pe-executable","portable-executable","exe"],"repository":{"type":"git","url":"git+https://github.com/jet2jet/pe-library-js.git"},"funding":{"type":"github","url":"https://github.com/sponsors/jet2jet"},"scripts":{"build":"npm run build:esm","build:esm":"tsc -p ./tsconfig.app.json","lint":"npm run lint:eslint && npm run lint:prettier","lint:eslint":"eslint -c eslint.config.mjs --ext .js,.jsx,.ts,.tsx .","lint:eslint:fix":"eslint -c eslint.config.mjs --fix --ext .js,.jsx,.ts,.tsx .","lint:fix":"npm run lint:eslint:fix && npm run lint:prettier:fix","lint:prettier":"prettier --config ./.prettierrc.yml --check \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","lint:prettier:fix":"prettier --config ./.prettierrc.yml --write \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","test":"jest --config ./jest.config.basic.js","typecheck":"tsc -p tsconfig.json && echo \"Done.\"","version":"node ./tools/updateVersion.js ./src/main/version.ts && git add -A ./src/main/version.ts"},"devDependencies":{"@types/jest":"^30.0.0","@types/node":"~20.19.22","@typescript-eslint/eslint-plugin":"^8.46.1","@typescript-eslint/parser":"^8.46.1","eslint":"^9.37.0","eslint-config-prettier":"^10.1.8","eslint-plugin-import-x":"^4.16.1","eslint-plugin-n":"^17.23.1","eslint-plugin-promise":"^7.2.1","jest":"^30.2.0","neostandard":"^0.12.2","prettier":"^3.6.2","ts-jest":"^29.4.5","typescript":"~4.9.5"},"_id":"pe-library@2.0.1","gitHead":"33076cac9b7e79e4cd26d946700642c5d241d8e6","bugs":{"url":"https://github.com/jet2jet/pe-library-js/issues"},"_nodeVersion":"20.19.5","_npmVersion":"11.5.1","dist":{"shasum":"00e6732546d616279944de39685b91a05aa24f8a","size":25546,"noattachment":false,"key":"/pe-library/-/pe-library-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pe-library/download/pe-library-2.0.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c4718224-861f-4ef6-a0f9-67e6025dd61e"}},"directories":{},"maintainers":[{"name":"jet2jet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pe-library_2.0.1_1762131459741_0.7889650309029868"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-03T00:57:39.924Z","publish_time":1762131459924,"_source_registry_name":"default","_cnpm_publish_time":1762131459924},"2.0.0":{"name":"pe-library","version":"2.0.0","engines":{"node":">=20.19.5","npm":">=11.5.1"},"engineStrict":true,"description":"Node.js library for Portable Executable format","module":"./dist/index.js","type":"module","exports":{".":"./dist/index.js","./cjs":{"require":"./cjs.cjs"}},"types":"./dist/index.d.ts","author":{"name":"jet"},"license":"MIT","homepage":"https://github.com/jet2jet/pe-library-js","keywords":["javascript","library","pe","pe-executable","portable-executable","exe"],"repository":{"type":"git","url":"git+https://github.com/jet2jet/pe-library-js.git"},"funding":{"type":"github","url":"https://github.com/sponsors/jet2jet"},"scripts":{"build":"npm run build:esm","build:esm":"tsc -p ./tsconfig.app.json","lint":"npm run lint:eslint && npm run lint:prettier","lint:eslint":"eslint -c eslint.config.mjs --ext .js,.jsx,.ts,.tsx .","lint:eslint:fix":"eslint -c eslint.config.mjs --fix --ext .js,.jsx,.ts,.tsx .","lint:fix":"npm run lint:eslint:fix && npm run lint:prettier:fix","lint:prettier":"prettier --config ./.prettierrc.yml --check \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","lint:prettier:fix":"prettier --config ./.prettierrc.yml --write \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","test":"jest --config ./jest.config.basic.js","typecheck":"tsc -p tsconfig.json && echo \"Done.\"","version":"node ./tools/updateVersion.js ./src/main/version.ts && git add -A ./src/main/version.ts"},"devDependencies":{"@types/jest":"^30.0.0","@types/node":"~20.19.22","@typescript-eslint/eslint-plugin":"^8.46.1","@typescript-eslint/parser":"^8.46.1","eslint":"^9.37.0","eslint-config-prettier":"^10.1.8","eslint-plugin-import-x":"^4.16.1","eslint-plugin-n":"^17.23.1","eslint-plugin-promise":"^7.2.1","jest":"^30.2.0","neostandard":"^0.12.2","prettier":"^3.6.2","ts-jest":"^29.4.5","typescript":"~4.9.5"},"_id":"pe-library@2.0.0","gitHead":"38f54160611020ca2de3a41c93eccd62c6054a35","bugs":{"url":"https://github.com/jet2jet/pe-library-js/issues"},"_nodeVersion":"20.19.5","_npmVersion":"11.5.1","dist":{"shasum":"0f0c012f0d899f702fbf58d80d06608a56323db8","size":25525,"noattachment":false,"key":"/pe-library/-/pe-library-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pe-library/download/pe-library-2.0.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c4718224-861f-4ef6-a0f9-67e6025dd61e"}},"directories":{},"maintainers":[{"name":"jet2jet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pe-library_2.0.0_1760692966647_0.17100540988550295"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-17T09:22:46.821Z","publish_time":1760692966821,"_source_registry_name":"default","_cnpm_publish_time":1760692966821},"0.4.1":{"name":"pe-library","version":"0.4.1","keywords":["javascript","library","pe","pe-executable","portable-executable","exe"],"author":{"name":"jet"},"license":"MIT","_id":"pe-library@0.4.1","maintainers":[{"name":"jet2jet","email":""}],"homepage":"https://github.com/jet2jet/pe-library-js","bugs":{"url":"https://github.com/jet2jet/pe-library-js/issues"},"dist":{"shasum":"e269be0340dcb13aa6949d743da7d658c3e2fbea","size":29130,"noattachment":false,"key":"/pe-library/-/pe-library-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pe-library/download/pe-library-0.4.1.tgz"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/_esm/index.js","engines":{"npm":">=6","node":">=12"},"exports":{"node":{"import":"./dist/index.mjs","require":"./dist/index.js"},"import":"./dist/_esm/index.js","require":"./dist/index.js"},"funding":{"url":"https://github.com/sponsors/jet2jet","type":"github"},"gitHead":"94974834fc131c99963fd1635e5bfbc135b160bd","scripts":{"lint":"npm run lint:prettier && npm run lint:eslint","test":"jest --config ./jest.config.basic.js","build":"npm run build:cjs && npm run build:esm","version":"node ./tools/updateVersion.js ./src/main/version.ts && git add -A ./src/main/version.ts","lint:fix":"npm run lint:prettier:fix && npm run lint:eslint:fix","build:cjs":"tsc -p ./tsconfig.app.json","build:esm":"tsc -p ./tsconfig.app.esm.json && node ./tools/copyEsmFile.js","lint:eslint":"eslint -c .eslintrc.yml --ext .js,.jsx,.ts,.tsx .","lint:prettier":"prettier --config ./.prettierrc.yml --check \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","lint:eslint:fix":"eslint -c .eslintrc.yml --fix --ext .js,.jsx,.ts,.tsx .","lint:prettier:fix":"prettier --config ./.prettierrc.yml --write \"**/*.{js,jsx,ts,tsx,yml,json,md}\""},"_npmUser":{"name":"jet2jet","email":"smalljet@hotmail.co.jp"},"repository":{"url":"git+https://github.com/jet2jet/pe-library-js.git","type":"git"},"_npmVersion":"6.14.15","description":"Node.js library for Portable Executable format","directories":{},"_nodeVersion":"12.22.9","dependencies":{},"engineStrict":true,"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.1.3","eslint":"^8.31.0","ts-jest":"^28.0.8","prettier":"^2.8.2","typescript":"~4.2.4","@types/jest":"^28.1.8","@types/node":"^12.20.37","eslint-plugin-n":"^15.6.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.1.1","eslint-config-prettier":"^8.6.0","eslint-config-standard":"^17.0.0","@typescript-eslint/parser":"^5.48.0","@typescript-eslint/eslint-plugin":"^5.48.0","eslint-config-standard-with-typescript":"^26.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pe-library_0.4.1_1723287251382_0.8871813476080579","host":"s3://npm-registry-packages"},"_cnpmcore_publish_time":"2024-08-10T10:54:11.655Z","publish_time":1723287251655,"_source_registry_name":"default","_cnpm_publish_time":1723287251655},"1.0.1":{"name":"pe-library","version":"1.0.1","engines":{"node":">=14","npm":">=7"},"engineStrict":true,"description":"Node.js library for Portable Executable format","module":"./dist/index.js","type":"module","exports":{".":"./dist/index.js","./cjs":{"require":"./cjs.cjs"}},"types":"./dist/index.d.ts","author":{"name":"jet"},"license":"MIT","homepage":"https://github.com/jet2jet/pe-library-js","keywords":["javascript","library","pe","pe-executable","portable-executable","exe"],"repository":{"type":"git","url":"git+https://github.com/jet2jet/pe-library-js.git"},"funding":{"url":"https://github.com/sponsors/jet2jet","type":"github"},"scripts":{"build":"npm run build:esm","build:esm":"tsc -p ./tsconfig.app.json","lint":"npm run lint:prettier && npm run lint:eslint","lint:eslint":"eslint -c .eslintrc.yml --ext .js,.jsx,.ts,.tsx .","lint:eslint:fix":"eslint -c .eslintrc.yml --fix --ext .js,.jsx,.ts,.tsx .","lint:fix":"npm run lint:prettier:fix && npm run lint:eslint:fix","lint:prettier":"prettier --config ./.prettierrc.yml --check \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","lint:prettier:fix":"prettier --config ./.prettierrc.yml --write \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","test":"jest --config ./jest.config.basic.js","version":"node ./tools/updateVersion.js ./src/main/version.ts && git add -A ./src/main/version.ts"},"devDependencies":{"@types/jest":"^29.4.0","@types/node":"^14.18.36","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","eslint":"^8.34.0","eslint-config-prettier":"^8.6.0","eslint-config-standard":"^17.0.0","eslint-config-standard-with-typescript":"^34.0.0","eslint-plugin-import":"^2.27.5","eslint-plugin-n":"^15.6.1","eslint-plugin-promise":"^6.1.1","jest":"^29.4.3","prettier":"^2.8.4","ts-jest":"^29.0.5","typescript":"~4.9.5"},"gitHead":"ddddd5e8a80adfa957c650c0648c6996cb266927","bugs":{"url":"https://github.com/jet2jet/pe-library-js/issues"},"_id":"pe-library@1.0.1","_nodeVersion":"14.18.2","_npmVersion":"8.19.4","dist":{"shasum":"02735430885a622576a53cd8827658b7d2fada0e","size":24163,"noattachment":false,"key":"/pe-library/-/pe-library-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pe-library/download/pe-library-1.0.1.tgz"},"_npmUser":{"name":"jet2jet","email":"smalljet@hotmail.co.jp"},"directories":{},"maintainers":[{"name":"jet2jet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pe-library_1.0.1_1713525165825_0.2037561623269386"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-19T11:12:45.987Z","publish_time":1713525165987,"_source_registry_name":"default","_cnpm_publish_time":1713525165987},"1.0.0":{"name":"pe-library","version":"1.0.0","engines":{"node":">=14","npm":">=7"},"engineStrict":true,"description":"Node.js library for Portable Executable format","module":"./dist/index.js","type":"module","exports":{".":"./dist/index.js","./cjs":{"require":"./cjs.cjs"}},"types":"./dist/index.d.ts","author":{"name":"jet"},"license":"MIT","homepage":"https://github.com/jet2jet/pe-library-js","keywords":["javascript","library","pe","pe-executable","portable-executable","exe"],"repository":{"type":"git","url":"git+https://github.com/jet2jet/pe-library-js.git"},"scripts":{"build":"npm run build:esm","build:esm":"tsc -p ./tsconfig.app.json","lint":"npm run lint:prettier && npm run lint:eslint","lint:eslint":"eslint -c .eslintrc.yml --ext .js,.jsx,.ts,.tsx .","lint:eslint:fix":"eslint -c .eslintrc.yml --fix --ext .js,.jsx,.ts,.tsx .","lint:fix":"npm run lint:prettier:fix && npm run lint:eslint:fix","lint:prettier":"prettier --config ./.prettierrc.yml --check \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","lint:prettier:fix":"prettier --config ./.prettierrc.yml --write \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","test":"jest --config ./jest.config.basic.js","version":"node ./tools/updateVersion.js ./src/main/version.ts && git add -A ./src/main/version.ts"},"devDependencies":{"@types/jest":"^29.4.0","@types/node":"^14.18.36","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","eslint":"^8.34.0","eslint-config-prettier":"^8.6.0","eslint-config-standard":"^17.0.0","eslint-config-standard-with-typescript":"^34.0.0","eslint-plugin-import":"^2.27.5","eslint-plugin-n":"^15.6.1","eslint-plugin-promise":"^6.1.1","jest":"^29.4.3","prettier":"^2.8.4","ts-jest":"^29.0.5","typescript":"~4.9.5"},"gitHead":"6448241f0db34d349ca3031160e0111c07160430","bugs":{"url":"https://github.com/jet2jet/pe-library-js/issues"},"_id":"pe-library@1.0.0","_nodeVersion":"14.18.2","_npmVersion":"7.24.2","dist":{"shasum":"360934ccdc25f19ac24d61c9a347caf23a9dc27a","size":24034,"noattachment":false,"key":"/pe-library/-/pe-library-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pe-library/download/pe-library-1.0.0.tgz"},"_npmUser":{"name":"jet2jet","email":"smalljet@hotmail.co.jp"},"directories":{},"maintainers":[{"name":"jet2jet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pe-library_1.0.0_1677138902898_0.5558396409479247"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-23T07:55:03.007Z","publish_time":1677138903007,"_cnpm_publish_time":1677138903007},"0.4.0":{"name":"pe-library","version":"0.4.0","engines":{"node":">=12","npm":">=6"},"engineStrict":true,"description":"Node.js library for Portable Executable format","main":"./dist/index.js","module":"./dist/_esm/index.js","exports":{"node":{"import":"./dist/index.mjs","require":"./dist/index.js"},"import":"./dist/_esm/index.js","require":"./dist/index.js"},"types":"./dist/index.d.ts","author":{"name":"jet"},"license":"MIT","homepage":"https://github.com/jet2jet/pe-library-js","keywords":["javascript","library","pe","pe-executable","portable-executable","exe"],"repository":{"type":"git","url":"git+https://github.com/jet2jet/pe-library-js.git"},"scripts":{"build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p ./tsconfig.app.json","build:esm":"tsc -p ./tsconfig.app.esm.json && node ./tools/copyEsmFile.js","lint":"npm run lint:prettier && npm run lint:eslint","lint:eslint":"eslint -c .eslintrc.yml --ext .js,.jsx,.ts,.tsx .","lint:eslint:fix":"eslint -c .eslintrc.yml --fix --ext .js,.jsx,.ts,.tsx .","lint:fix":"npm run lint:prettier:fix && npm run lint:eslint:fix","lint:prettier":"prettier --config ./.prettierrc.yml --check \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","lint:prettier:fix":"prettier --config ./.prettierrc.yml --write \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","test":"jest --config ./jest.config.basic.js","version":"node ./tools/updateVersion.js ./src/main/version.ts && git add -A ./src/main/version.ts"},"dependencies":{},"devDependencies":{"@types/jest":"^28.1.8","@types/node":"^12.20.37","@typescript-eslint/eslint-plugin":"^5.48.0","@typescript-eslint/parser":"^5.48.0","eslint":"^8.31.0","eslint-config-prettier":"^8.6.0","eslint-config-standard":"^17.0.0","eslint-config-standard-with-typescript":"^26.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-n":"^15.6.0","eslint-plugin-promise":"^6.1.1","jest":"^28.1.3","prettier":"^2.8.2","ts-jest":"^28.0.8","typescript":"~4.2.4"},"gitHead":"559ccd43e30d20c21507065e8ac35cb558e5ea6e","bugs":{"url":"https://github.com/jet2jet/pe-library-js/issues"},"_id":"pe-library@0.4.0","_nodeVersion":"12.22.9","_npmVersion":"6.14.15","dist":{"shasum":"8cdb5af1fce18f53d82068f30591b6de65f85528","size":29005,"noattachment":false,"key":"/pe-library/-/pe-library-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pe-library/download/pe-library-0.4.0.tgz"},"_npmUser":{"name":"jet2jet","email":"smalljet@hotmail.co.jp"},"directories":{},"maintainers":[{"name":"jet2jet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pe-library_0.4.0_1674954393724_0.8569815977394426"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-29T01:06:33.909Z","publish_time":1674954393909,"_cnpm_publish_time":1674954393909},"0.3.0":{"name":"pe-library","version":"0.3.0","engines":{"node":">=12","npm":">=6"},"engineStrict":true,"description":"Node.js library for Portable Executable format","main":"./dist/index.js","module":"./dist/_esm/index.js","exports":{"import":"./dist/_esm/index.js","require":"./dist/index.js"},"types":"./dist/index.d.ts","author":{"name":"jet"},"license":"MIT","homepage":"https://github.com/jet2jet/pe-library-js","keywords":["javascript","library","pe","pe-executable","portable-executable","exe"],"repository":{"type":"git","url":"git+https://github.com/jet2jet/pe-library-js.git"},"scripts":{"build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p ./tsconfig.app.json","build:esm":"tsc -p ./tsconfig.app.esm.json","lint":"npm run lint:prettier && npm run lint:eslint","lint:eslint":"eslint -c .eslintrc.yml --ext .js,.jsx,.ts,.tsx .","lint:eslint:fix":"eslint -c .eslintrc.yml --fix --ext .js,.jsx,.ts,.tsx .","lint:fix":"npm run lint:prettier:fix && npm run lint:eslint:fix","lint:prettier":"prettier --config ./.prettierrc.yml --check \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","lint:prettier:fix":"prettier --config ./.prettierrc.yml --write \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","test":"jest --config ./jest.config.basic.js","version":"node ./tools/updateVersion.js ./src/main/version.ts && git add -A ./src/main/version.ts"},"dependencies":{},"devDependencies":{"@types/jest":"^26.0.22","@types/node":"^12.20.37","@typescript-eslint/eslint-plugin":"^4.22.0","@typescript-eslint/parser":"^4.22.0","eslint":"^7.24.0","eslint-config-prettier":"^8.2.0","eslint-config-standard":"^16.0.2","eslint-config-standard-with-typescript":"^20.0.0","eslint-plugin-import":"^2.22.1","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^5.1.0","jest":"^26.6.3","prettier":"^2.2.1","ts-jest":"^26.5.5","typescript":"~4.2.4"},"gitHead":"2c192197657a905a2f573b0b749ab510b19ff117","bugs":{"url":"https://github.com/jet2jet/pe-library-js/issues"},"_id":"pe-library@0.3.0","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"shasum":"7b29c024b83c701d6c5c3759664340255fec70bf","size":28771,"noattachment":false,"key":"/pe-library/-/pe-library-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pe-library/download/pe-library-0.3.0.tgz"},"_npmUser":{"name":"jet2jet","email":"smalljet@hotmail.co.jp"},"directories":{},"maintainers":[{"name":"jet2jet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pe-library_0.3.0_1651817227501_0.7684800798817233"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-06T06:32:24.674Z","publish_time":1651817227679,"_cnpm_publish_time":1651817227679},"0.2.1":{"name":"pe-library","version":"0.2.1","engines":{"node":">=12","npm":">=6"},"engineStrict":true,"description":"Node.js library for Portable Executable format","main":"./dist/index.js","module":"./dist/_esm/index.js","exports":{"import":"./dist/_esm/index.js","require":"./dist/index.js"},"types":"./dist/index.d.ts","author":{"name":"jet"},"license":"MIT","homepage":"https://github.com/jet2jet/pe-library-js","keywords":["javascript","library","pe","pe-executable","portable-executable","exe"],"repository":{"type":"git","url":"git+https://github.com/jet2jet/pe-library-js.git"},"scripts":{"build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p ./tsconfig.app.json","build:esm":"tsc -p ./tsconfig.app.esm.json","lint":"npm run lint:prettier && npm run lint:eslint","lint:eslint":"eslint -c .eslintrc.yml --ext .js,.jsx,.ts,.tsx .","lint:eslint:fix":"eslint -c .eslintrc.yml --fix --ext .js,.jsx,.ts,.tsx .","lint:fix":"npm run lint:prettier:fix && npm run lint:eslint:fix","lint:prettier":"prettier --config ./.prettierrc.yml --check \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","lint:prettier:fix":"prettier --config ./.prettierrc.yml --write \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","test":"jest --config ./jest.config.basic.js","version":"node ./tools/updateVersion.js ./src/main/version.ts && git add -A ./src/main/version.ts"},"dependencies":{},"devDependencies":{"@types/jest":"^26.0.22","@types/node":"^12.20.37","@typescript-eslint/eslint-plugin":"^4.22.0","@typescript-eslint/parser":"^4.22.0","eslint":"^7.24.0","eslint-config-prettier":"^8.2.0","eslint-config-standard":"^16.0.2","eslint-config-standard-with-typescript":"^20.0.0","eslint-plugin-import":"^2.22.1","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^5.1.0","jest":"^26.6.3","prettier":"^2.2.1","ts-jest":"^26.5.5","typescript":"~4.2.4"},"gitHead":"53325a3a8f7fd1ed6983c15d7230225ecea86170","bugs":{"url":"https://github.com/jet2jet/pe-library-js/issues"},"_id":"pe-library@0.2.1","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"shasum":"2f656d02f4e705d8c9aa60f5297cef414b008b6c","size":28313,"noattachment":false,"key":"/pe-library/-/pe-library-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pe-library/download/pe-library-0.2.1.tgz"},"_npmUser":{"name":"jet2jet","email":"smalljet@hotmail.co.jp"},"directories":{},"maintainers":[{"name":"jet2jet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pe-library_0.2.1_1641181483056_0.9467703672958196"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-03T03:44:52.098Z","publish_time":1641181483213,"_cnpm_publish_time":1641181483213},"0.2.0":{"name":"pe-library","version":"0.2.0","engines":{"node":">=12","npm":">=6"},"engineStrict":true,"description":"Node.js library for Portable Executable format","main":"./dist/index.js","module":"./dist/_esm/index.js","exports":{"import":"./dist/_esm/index.js","require":"./dist/index.js"},"types":"./dist/index.d.ts","author":{"name":"jet"},"license":"MIT","homepage":"https://github.com/jet2jet/pe-library-js","keywords":["javascript","library","pe","pe-executable","portable-executable","exe"],"repository":{"type":"git","url":"git+https://github.com/jet2jet/pe-library-js.git"},"scripts":{"build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p ./tsconfig.app.json","build:esm":"tsc -p ./tsconfig.app.esm.json","lint":"npm run lint:prettier && npm run lint:eslint","lint:eslint":"eslint -c .eslintrc.yml --ext .js,.jsx,.ts,.tsx .","lint:eslint:fix":"eslint -c .eslintrc.yml --fix --ext .js,.jsx,.ts,.tsx .","lint:fix":"npm run lint:prettier:fix && npm run lint:eslint:fix","lint:prettier":"prettier --config ./.prettierrc.yml --check \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","lint:prettier:fix":"prettier --config ./.prettierrc.yml --write \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","test":"jest --config ./jest.config.basic.js","version":"node ./tools/updateVersion.js ./src/main/version.ts && git add -A ./src/main/version.ts"},"dependencies":{},"devDependencies":{"@types/jest":"^26.0.22","@types/node":"^12.20.37","@typescript-eslint/eslint-plugin":"^4.22.0","@typescript-eslint/parser":"^4.22.0","eslint":"^7.24.0","eslint-config-prettier":"^8.2.0","eslint-config-standard":"^16.0.2","eslint-config-standard-with-typescript":"^20.0.0","eslint-plugin-import":"^2.22.1","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^5.1.0","jest":"^26.6.3","prettier":"^2.2.1","ts-jest":"^26.5.5","typescript":"~4.2.4"},"gitHead":"1779a73384497d091a425963ac66cc53888deaa4","bugs":{"url":"https://github.com/jet2jet/pe-library-js/issues"},"_id":"pe-library@0.2.0","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"shasum":"54cd7a147a0c424c6ca403a2d3cb2d35c8fd3f23","size":28288,"noattachment":false,"key":"/pe-library/-/pe-library-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pe-library/download/pe-library-0.2.0.tgz"},"_npmUser":{"name":"jet2jet","email":"smalljet@hotmail.co.jp"},"directories":{},"maintainers":[{"name":"jet2jet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pe-library_0.2.0_1641181379985_0.766407973962631"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-03T03:43:09.797Z","publish_time":1641181380338,"_cnpm_publish_time":1641181380338},"0.1.3":{"name":"pe-library","version":"0.1.3","engines":{"node":">=12","npm":">=6"},"engineStrict":true,"description":"Node.js library for Portable Executable format","main":"./dist/index.js","module":"./dist/_esm/index.js","exports":{"import":"./dist/_esm/index.js","require":"./dist/index.js"},"types":"./dist/index.d.ts","author":{"name":"jet"},"license":"MIT","homepage":"https://github.com/jet2jet/pe-library-js","keywords":["javascript","library","pe","pe-executable","portable-executable","exe"],"repository":{"type":"git","url":"git+https://github.com/jet2jet/pe-library-js.git"},"scripts":{"build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p ./tsconfig.app.json","build:esm":"tsc -p ./tsconfig.app.esm.json","lint":"npm run lint:prettier && npm run lint:eslint","lint:eslint":"eslint -c .eslintrc.yml --ext .js,.jsx,.ts,.tsx .","lint:eslint:fix":"eslint -c .eslintrc.yml --fix --ext .js,.jsx,.ts,.tsx .","lint:fix":"npm run lint:prettier:fix && npm run lint:eslint:fix","lint:prettier":"prettier --config ./.prettierrc.yml --check \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","lint:prettier:fix":"prettier --config ./.prettierrc.yml --write \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","test":"jest --config ./jest.config.basic.js","version":"node ./tools/updateVersion.js ./src/main/version.ts && git add -A ./src/main/version.ts"},"dependencies":{},"devDependencies":{"@types/jest":"^26.0.22","@types/node":"^12.20.37","@typescript-eslint/eslint-plugin":"^4.22.0","@typescript-eslint/parser":"^4.22.0","eslint":"^7.24.0","eslint-config-prettier":"^8.2.0","eslint-config-standard":"^16.0.2","eslint-config-standard-with-typescript":"^20.0.0","eslint-plugin-import":"^2.22.1","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^5.1.0","jest":"^26.6.3","prettier":"^2.2.1","ts-jest":"^26.5.5","typescript":"~4.2.4"},"gitHead":"7c7b12cce639b88144beb362c5dfc12a466d316a","bugs":{"url":"https://github.com/jet2jet/pe-library-js/issues"},"_id":"pe-library@0.1.3","_nodeVersion":"12.14.1","_npmVersion":"6.14.15","dist":{"shasum":"246a7bec98872819ce3418ee87c63730d71d8605","size":21013,"noattachment":false,"key":"/pe-library/-/pe-library-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/pe-library/download/pe-library-0.1.3.tgz"},"_npmUser":{"name":"jet2jet","email":"smalljet@hotmail.co.jp"},"directories":{},"maintainers":[{"name":"jet2jet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pe-library_0.1.3_1639137882448_0.7260863195797613"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T01:24:42.984Z","publish_time":1639137882596,"_cnpm_publish_time":1639137882596},"0.1.2":{"name":"pe-library","version":"0.1.2","engines":{"node":">=12","npm":">=6"},"engineStrict":true,"description":"Node.js library for Portable Executable format","main":"./dist/index.js","module":"./dist/_esm/index.js","exports":{"import":"./dist/_esm/index.js","require":"./dist/index.js"},"types":"./dist/index.d.ts","author":{"name":"jet"},"license":"MIT","homepage":"https://github.com/jet2jet/pe-library-js","keywords":["javascript","library","pe","pe-executable","portable-executable","exe"],"repository":{"type":"git","url":"git+https://github.com/jet2jet/pe-library-js.git"},"scripts":{"build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p ./tsconfig.app.json","build:esm":"tsc -p ./tsconfig.app.esm.json","lint":"npm run lint:prettier && npm run lint:eslint","lint:eslint":"eslint -c .eslintrc.yml --ext .js,.jsx,.ts,.tsx .","lint:eslint:fix":"eslint -c .eslintrc.yml --fix --ext .js,.jsx,.ts,.tsx .","lint:fix":"npm run lint:prettier:fix && npm run lint:eslint:fix","lint:prettier":"prettier --config ./.prettierrc.yml --check \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","lint:prettier:fix":"prettier --config ./.prettierrc.yml --write \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","test":"jest --config ./jest.config.basic.js","version":"node ./tools/updateVersion.js ./src/main/version.ts && git add -A ./src/main/version.ts"},"dependencies":{},"devDependencies":{"@types/jest":"^26.0.22","@types/node":"^12.20.37","@typescript-eslint/eslint-plugin":"^4.22.0","@typescript-eslint/parser":"^4.22.0","eslint":"^7.24.0","eslint-config-prettier":"^8.2.0","eslint-config-standard":"^16.0.2","eslint-config-standard-with-typescript":"^20.0.0","eslint-plugin-import":"^2.22.1","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^5.1.0","jest":"^26.6.3","prettier":"^2.2.1","ts-jest":"^26.5.5","typescript":"~4.2.4"},"gitHead":"3bd8dc342628b3ffecc4334bf12e6052699d0ca2","bugs":{"url":"https://github.com/jet2jet/pe-library-js/issues"},"_id":"pe-library@0.1.2","_nodeVersion":"12.14.1","_npmVersion":"6.14.15","dist":{"shasum":"613070c87733065e15fecf6c3655e68323360a89","size":21955,"noattachment":false,"key":"/pe-library/-/pe-library-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pe-library/download/pe-library-0.1.2.tgz"},"_npmUser":{"name":"jet2jet","email":"smalljet@hotmail.co.jp"},"directories":{},"maintainers":[{"name":"jet2jet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pe-library_0.1.2_1639137116457_0.6996817166738132"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T01:24:41.698Z","publish_time":1639137116599,"_cnpm_publish_time":1639137116599},"0.1.1":{"name":"pe-library","version":"0.1.1","engines":{"node":">=12","npm":">=6"},"engineStrict":true,"description":"Node.js library for Portable Executable format","main":"./dist/index.js","module":"./dist/_esm/index.js","exports":{"import":"./dist/_esm/index.js","require":"./dist/index.js"},"types":"./dist/index.d.ts","author":{"name":"jet"},"license":"MIT","homepage":"https://github.com/jet2jet/pe-library-js","keywords":["javascript","library","pe","pe-executable","portable-executable","exe"],"repository":{"type":"git","url":"git+https://github.com/jet2jet/pe-library-js.git"},"scripts":{"build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p ./tsconfig.app.json","build:esm":"tsc -p ./tsconfig.app.esm.json","lint":"npm run lint:prettier && npm run lint:eslint","lint:eslint":"eslint -c .eslintrc.yml --ext .js,.jsx,.ts,.tsx .","lint:eslint:fix":"eslint -c .eslintrc.yml --fix --ext .js,.jsx,.ts,.tsx .","lint:fix":"npm run lint:prettier:fix && npm run lint:eslint:fix","lint:prettier":"prettier --config ./.prettierrc.yml --check \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","lint:prettier:fix":"prettier --config ./.prettierrc.yml --write \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","test":"jest --config ./jest.config.basic.js","version":"node ./tools/updateVersion.js ./src/main/version.ts && git add -A ./src/main/version.ts"},"dependencies":{},"devDependencies":{"@types/jest":"^26.0.22","@types/node":"^12.20.37","@typescript-eslint/eslint-plugin":"^4.22.0","@typescript-eslint/parser":"^4.22.0","eslint":"^7.24.0","eslint-config-prettier":"^8.2.0","eslint-config-standard":"^16.0.2","eslint-config-standard-with-typescript":"^20.0.0","eslint-plugin-import":"^2.22.1","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^5.1.0","jest":"^26.6.3","prettier":"^2.2.1","ts-jest":"^26.5.5","typescript":"~4.2.4"},"gitHead":"252c5f38e4147063e87006bd0dd01eec342e7f00","bugs":{"url":"https://github.com/jet2jet/pe-library-js/issues"},"_id":"pe-library@0.1.1","_nodeVersion":"12.14.1","_npmVersion":"6.14.15","dist":{"shasum":"766162f03699137a10ce5fd8f2e63a73b7638de0","size":21929,"noattachment":false,"key":"/pe-library/-/pe-library-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pe-library/download/pe-library-0.1.1.tgz"},"_npmUser":{"name":"jet2jet","email":"smalljet@hotmail.co.jp"},"directories":{},"maintainers":[{"name":"jet2jet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pe-library_0.1.1_1639136702916_0.5480070478022994"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T01:24:40.294Z","publish_time":1639136703070,"_cnpm_publish_time":1639136703070},"0.1.0":{"name":"pe-library","version":"0.1.0","engines":{"node":">=12","npm":">=6"},"engineStrict":true,"description":"Node.js library for Portable Executable format","main":"./dist/index.js","module":"./dist/_esm/index.js","exports":{"import":"./dist/_esm/index.js","require":"./dist/index.js"},"types":"./dist/index.d.ts","author":{"name":"jet"},"license":"MIT","homepage":"https://github.com/jet2jet/pe-library-js","keywords":["javascript","library","pe","pe-executable","portable-executable","exe"],"repository":{"type":"git","url":"git+https://github.com/jet2jet/pe-library-js.git"},"scripts":{"build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc -p ./tsconfig.app.json","build:esm":"tsc -p ./tsconfig.app.esm.json","lint":"npm run lint:prettier && npm run lint:eslint","lint:eslint":"eslint -c .eslintrc.yml --ext .js,.jsx,.ts,.tsx .","lint:eslint:fix":"eslint -c .eslintrc.yml --fix --ext .js,.jsx,.ts,.tsx .","lint:fix":"npm run lint:prettier:fix && npm run lint:eslint:fix","lint:prettier":"prettier --config ./.prettierrc.yml --check \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","lint:prettier:fix":"prettier --config ./.prettierrc.yml --write \"**/*.{js,jsx,ts,tsx,yml,json,md}\"","test":"jest --config ./jest.config.basic.js","version":"node ./tools/updateVersion.js ./src/main/version.ts && git add -A ./src/main/version.ts"},"dependencies":{},"devDependencies":{"@types/jest":"^26.0.22","@types/node":"^12.20.37","@typescript-eslint/eslint-plugin":"^4.22.0","@typescript-eslint/parser":"^4.22.0","eslint":"^7.24.0","eslint-config-prettier":"^8.2.0","eslint-config-standard":"^16.0.2","eslint-config-standard-with-typescript":"^20.0.0","eslint-plugin-import":"^2.22.1","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^5.1.0","jest":"^26.6.3","prettier":"^2.2.1","ts-jest":"^26.5.5","typescript":"~4.2.4"},"gitHead":"d36df46701a6e817d01d042ec550826fdddeadfc","bugs":{"url":"https://github.com/jet2jet/pe-library-js/issues"},"_id":"pe-library@0.1.0","_nodeVersion":"12.14.1","_npmVersion":"6.14.15","dist":{"shasum":"97fd746c3ff59d5921877dde7d4493bc44dde30e","size":21890,"noattachment":false,"key":"/pe-library/-/pe-library-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pe-library/download/pe-library-0.1.0.tgz"},"_npmUser":{"name":"jet2jet","email":"smalljet@hotmail.co.jp"},"directories":{},"maintainers":[{"name":"jet2jet","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pe-library_0.1.0_1639136335354_0.560731539577003"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-28T01:24:38.998Z","publish_time":1639136335497,"_cnpm_publish_time":1639136335497}},"readme":"[![NPM version](https://badge.fury.io/js/pe-library.svg)](https://www.npmjs.com/package/pe-library)\n[![Build Status](https://github.com/jet2jet/pe-library-js/actions/workflows/main-ci.yml/badge.svg)](https://github.com/jet2jet/pe-library-js)\n\n# pe-library\n\npe-library provides parsing and generating Portable Executable (known as Windows Executables) binaries.\n\n## Usage\n\n```js\nimport * as PE from 'pe-library';\nimport * as fs from 'fs';\n\n// load and parse data\nlet data = fs.readFileSync('MyApp.exe');\n// (the Node.js Buffer instance can be specified directly to NtExecutable.from)\nlet exe = PE.NtExecutable.from(data);\n\n// get section data\nlet exportSection = exe.getSectionByEntry(PE.Format.ImageDirectoryEntry.Export);\n// read binary data stored in exportSection.data ...\n// to write binary: use exe.setSectionByEntry\n\n// write to buffer\nlet newBin = exe.generate();\nfs.writeFileSync('MyApp_modified.exe', new Buffer(newBin));\n```\n\n### from CommonJS (using `require`)\n\n> Starting from v1.0.0, CommonJS support is changed; you must use `pe-library/cjs` to use from CommonJS file.\n\n```js\nconst { load } = require('pe-library/cjs');\nconst fs = require('fs');\nload().then((PE) => {\n  // load and parse data\n  let data = fs.readFileSync('MyApp.exe');\n  // (the Node.js Buffer instance can be specified directly to NtExecutable.from)\n  let exe = PE.NtExecutable.from(data);\n\n  // get section data\n  let exportSection = exe.getSectionByEntry(\n    PE.Format.ImageDirectoryEntry.Export\n  );\n  // read binary data stored in exportSection.data ...\n  // to write binary: use exe.setSectionByEntry\n\n  // write to buffer\n  let newBin = exe.generate();\n  fs.writeFileSync('MyApp_modified.exe', new Buffer(newBin));\n});\n```\n\n#### for CommonJS-based TypeScript module\n\n```ts\n// you can use PE namespace for type-reference only\nimport { type PE, load } from 'pe-library/cjs';\nload().then((pe: typeof PE) => {\n  ...\n});\n```\n\n## License\n\n- All programs / source codes / binaries in this package, EXCEPT FOLLOWINGS, are licensed with [MIT License](./LICENSE).\n- The followings are licensed with 0-BSD license:\n  - [tools/dos-stub/dos-stub.asm](./tools/dos-stub/dos-stub.asm)\n  - The bit code, generated from tools/dos-stub/dos-stub.asm, written in [src/main/util/generate.ts](./src/main/util/generate.ts) as `DOS_STUB_PROGRAM`\n","_attachments":{},"homepage":"https://github.com/jet2jet/pe-library-js","bugs":{"url":"https://github.com/jet2jet/pe-library-js/issues"},"license":"MIT"}