{"name":"@modern-js/utils","description":"A Progressive React Framework for modern web development.","homepage":"https://modernjs.dev","bugs":{"url":"https://github.com/web-infra-dev/modern.js/issues"},"repository":{"type":"git","url":"git+https://github.com/web-infra-dev/modern.js.git","directory":"packages/toolkit/utils"},"license":"MIT","keywords":["react","framework","modern","modern.js"],"version":"3.0.0-alpha.0","jsnext:source":"./src/index.ts","types":"./dist/types/index.d.ts","main":"./dist/cjs/index.js","module":"./dist/esm/index.mjs","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm-node/index.mjs","default":"./dist/cjs/index.js"},"./logger":{"types":"./dist/types/cli/logger.d.ts","default":"./dist/cjs/cli/logger.js"},"./require":{"jsnext:source":"./src/cli/require.ts","import":"./dist/esm/cli/require.js","default":"./dist/cjs/cli/require.js"},"./env":{"jsnext:source":"./src/cli/is/env.ts","import":"./dist/esm/cli/is/env.js","default":"./dist/cjs/cli/is/env.js"},"./chain-id":{"types":"./dist/types/cli/constants/chainId.d.ts","default":"./dist/cjs/cli/constants/chainId.js"},"./universal":{"types":"./dist/types/universal/index.d.ts","import":"./dist/esm/universal/index.mjs","default":"./dist/cjs/universal/index.js"},"./universal/constants":{"types":"./dist/types/universal/constants.d.ts","import":"./dist/esm/universal/constants.mjs","default":"./dist/cjs/universal/constants.js"},"./universal/plugin-dag-sort":{"types":"./dist/types/universal/pluginDagSort.d.ts","import":"./dist/esm/universal/pluginDagSort.mjs","default":"./dist/cjs/universal/pluginDagSort.js"},"./commander":"./dist/compiled/commander/index.js","./ora":"./dist/compiled/ora/index.js","./glob":"./dist/compiled/glob/index.js","./chalk":"./dist/compiled/chalk/index.js","./execa":"./dist/compiled/execa/index.js","./json5":"./dist/compiled/json5/index.js","./semver":"./dist/compiled/semver/index.js","./lodash":"./dist/compiled/lodash/index.js","./globby":"./dist/compiled/globby/index.js","./fs-extra":"./dist/compiled/fs-extra/index.js","./fast-glob":"./dist/compiled/fast-glob/index.js","./gzip-size":"./dist/compiled/gzip-size/index.js","./mime-types":"./dist/compiled/mime-types/index.js","./strip-ansi":"./dist/compiled/strip-ansi/index.js","./browserslist":"./dist/compiled/browserslist/index.js","./tsconfig-paths":"./dist/compiled/tsconfig-paths/index.js"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"typesVersions":{"*":{"logger":["./dist/types/cli/logger.d.ts"],"chain-id":["./dist/types/cli/constants/chainId.d.ts"],"require":["./dist/types/cli/require.d.ts"],"env":["./dist/types/cli/is/env.d.ts"],"universal":["./dist/types/universal/index.d.ts"],"universal/constants":["./dist/types/universal/constants.d.ts"],"universal/plugin-dag-sort":["./dist/types/universal/pluginDagSort.d.ts"],"execa":["./dist/compiled/execa/index.d.ts"],"glob":["./dist/compiled/glob/index.d.ts"],"chalk":["./dist/compiled/chalk/index.d.ts"],"json5":["./dist/compiled/json5/index.d.ts"],"semver":["./dist/compiled/semver/index.d.ts"],"lodash":["./dist/compiled/lodash/index.d.ts"],"globby":["./dist/compiled/globby/index.d.ts"],"fs-extra":["./dist/compiled/fs-extra/index.d.ts"],"fast-glob":["./dist/compiled/fast-glob/index.d.ts"],"gzip-size":["./dist/compiled/gzip-size/index.d.ts"],"mime-types":["./dist/compiled/mime-types/index.d.ts"],"strip-ansi":["./dist/compiled/strip-ansi/index.d.ts"],"browserslist":["./dist/compiled/browserslist/index.d.ts"],"tsconfig-paths":["./dist/compiled/tsconfig-paths/lib/index.d.ts"],"commander":["./dist/compiled/commander/typings/index.d.ts"],"ora":["./dist/compiled/ora/index.d.ts"]}},"dependencies":{"@swc/helpers":"^0.5.17","caniuse-lite":"^1.0.30001520","lodash":"^4.17.21","rslog":"^1.3.2"},"devDependencies":{"@types/jest":"^29.5.14","@types/node":"^20","jest":"^29.7.0","@rslib/core":"0.18.5","typescript":"^5","@modern-js/types":"3.0.0-alpha.0","@modern-js/rslib":"2.68.10","@scripts/jest-config":"2.66.0"},"peerDependencies":{"react":"^19.2.3","react-dom":"^19.2.3"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"sideEffects":false,"scripts":{"dev":"rslib build --watch","build":"rslib build","test":"jest --passWithNoTests"},"_id":"@modern-js/utils@3.0.0-alpha.0","readmeFilename":"README.md","_integrity":"sha512-gB9vS1JErRCTAkdcnL5YCwswXTitUfUUijONgO8dg6XOfNbcAzqiDFdmSciJUV+8Aa33xXQCtnpJ54y6vdRT+Q==","_resolved":"/tmp/a6dff526c974fcfcceff8ef2ead5bada/modern-js-utils-3.0.0-alpha.0.tgz","_from":"file:modern-js-utils-3.0.0-alpha.0.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"00b5908c570dad8a1fd79016a6ab4e4ebddba2a1","size":705102,"noattachment":false,"key":"/@modern-js/utils/-/@modern-js/utils-3.0.0-alpha.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@modern-js/utils/download/@modern-js/utils-3.0.0-alpha.0.tgz"},"_npmUser":{"name":"caohuilin","email":"1057275848@qq.com"},"directories":{},"maintainers":[{"name":"bytednpm","email":""},{"name":"caohuilin","email":""},{"name":"kky_kongjiacong","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/utils_3.0.0-alpha.0_1766482191861_0.6487733885845419"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-12-23T09:29:52.069Z","publish_time":1766482192069,"_source_registry_name":"default","_cnpm_publish_time":1766482192069,"dist-tags":{"alpha":"3.0.0-alpha.2","beta":"2.4.1-beta.0","canary":"0.0.0-canary-20260409065554","latest":"3.1.3","modern-1":"1.22.8","modern-2":"2.70.8","next":"0.0.0-next-20260225202135","nightly":"0.0.0-nightly-20260409163932","test":"2.13.0"}}