{"title":"Extract Options & Callback","name":"extract-opts","version":"5.4.1","description":"Extract the options and callback from a function's arguments easily","homepage":"https://github.com/bevry/extract-opts","license":"Artistic-2.0","keywords":["args","arguments","browser","callback","cb","esnext","extract","flow","next","node","optional","options","opts"],"badges":{"list":["githubworkflow","npmversion","npmdownloads","---","githubsponsors","thanksdev","patreon","liberapay","buymeacoffee","opencollective","crypto","paypal","---","discord","twitch"],"config":{"githubWorkflow":"bevry","githubSponsorsUsername":"balupton","thanksdevGithubUsername":"bevry","buymeacoffeeUsername":"balupton","cryptoURL":"https://bevry.me/crypto","flattrUsername":"balupton","liberapayUsername":"bevry","opencollectiveUsername":"bevry","patreonUsername":"bevry","paypalURL":"https://bevry.me/paypal","wishlistURL":"https://bevry.me/wishlist","discordServerID":"1147436445783560193","discordServerInvite":"nQuXddV7VP","twitchUsername":"balupton","githubUsername":"bevry","githubRepository":"extract-opts","githubSlug":"bevry/extract-opts","npmPackageName":"extract-opts"}},"funding":"https://bevry.me/fund","author":{"name":"2013+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"bevryme","email":"us@bevry.me"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"https://github.com/balupton"},{"name":"Matt Bierner","url":"https://github.com/mjbvz"},{"name":"Sean Fridman","email":"mail@seanfridman.com","url":"https://github.com/sfrdmn"}],"bugs":{"url":"https://github.com/bevry/extract-opts/issues"},"repository":{"type":"git","url":"git+https://github.com/bevry/extract-opts.git"},"engines":{"node":">=4"},"editions":[{"description":"ESNext source code for Node.js 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules","directory":"source","entry":"index.js","tags":["source","javascript","esnext","require"],"engines":{"node":"6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}},{"description":"ESNext compiled for web browsers with Require for modules","directory":"edition-browsers","entry":"index.js","tags":["compiled","javascript","require"],"engines":{"node":false,"browsers":"defaults"}},{"description":"ESNext compiled for Node.js 4 with Require for modules","directory":"edition-node-4","entry":"index.js","tags":["compiled","javascript","require"],"engines":{"node":"4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21","browsers":false}}],"type":"commonjs","main":"index.cjs","browser":"edition-browsers/index.js","dependencies":{"eachr":"^7.1.0","editions":"^6.18.0","typechecker":"^9.1.0"},"devDependencies":{"@babel/cli":"^7.23.4","@babel/core":"^7.23.5","@babel/plugin-proposal-object-rest-spread":"^7.20.7","@babel/preset-env":"^7.23.5","@bevry/update-contributors":"^1.23.0","assert-helpers":"^11.8.0","eslint":"^8.55.0","eslint-config-bevry":"^5.2.0","eslint-config-prettier":"^9.1.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-prettier":"^5.0.1","kava":"^7.4.0","prettier":"^3.1.0","projectz":"^3.4.0","valid-directory":"^4.6.0"},"scripts":{"our:clean":"rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next","our:compile":"npm run our:compile:edition-browsers && npm run our:compile:edition-node-4","our:compile:edition-browsers":"env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source","our:compile:edition-node-4":"env BABEL_ENV=edition-node-4 babel --out-dir ./edition-node-4 ./source && printf '%s' '{\"type\": \"commonjs\"}' > edition-node-4/package.json","our:deploy":"printf '%s\n' 'no need for this project'","our:meta":"npm run our:meta:contributors && npm run our:meta:projectz","our:meta:contributors":"update-contributors","our:meta:projectz":"projectz compile","our:release":"npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push","our:release:check-changelog":"cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)","our:release:check-dirty":"git diff --exit-code","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:push":"git push origin && git push origin --tags","our:release:tag":"export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"","our:setup":"npm run our:setup:install","our:setup:install":"npm install","our:test":"npm run our:verify && npm test","our:verify":"npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:prettier","our:verify:directory":"valid-directory","our:verify:eslint":"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source","our:verify:prettier":"prettier --write .","test":"node ./test.cjs"},"eslintConfig":{"extends":["bevry"]},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"es5"},"babel":{"env":{"edition-browsers":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"esmodules":false,"browsers":"defaults"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]},"edition-node-4":{"sourceType":"script","presets":[["@babel/preset-env",{"targets":{"node":"4"},"modules":"commonjs"}]],"plugins":["@babel/proposal-object-rest-spread"]}}},"_id":"extract-opts@5.4.1","gitHead":"5381e879a9d6452dc7ddd3e7dbb929ffb817a6ca","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-LOJdAT82Y3+/sfbAZkw1kwYt8OW6sRyx4UmeoZUtgfvdNZZMWk9VZj1EaCa31wNrutmBiIPfHLwCwTtGXVqaRA==","shasum":"2466998a6b11c6fee2c139d86564f167d73d4079","tarball":"http://registry-npm.ywwl.com/extract-opts/download/extract-opts-5.4.1.tgz","fileCount":10,"unpackedSize":34334,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAGHjHKeoTQrQoryogkxwmiLq5tQJmiY+F1VEnf6LUrMAiEAlzoXWEuOZQzO38WBn9r1iYc9z/P1TjioGsr/J1K1yHg="}],"size":9473,"noattachment":false,"key":"/extract-opts/-/extract-opts-5.4.1.tgz"},"_npmUser":{"name":"bevryme","email":"us@bevry.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/extract-opts_5.4.1_1701782430133_0.4420049406597155"},"_hasShrinkwrap":false,"readme":"","publish_time":1701782430317,"_cnpm_publish_time":1701782430317,"dist-tags":{"latest":"5.9.0","next":"5.9.0-next.1704166718.5bd0f119cd9a664e5e7424e155a561d720e12151"}}