[
  {
    "path": ".editorconfig",
    "content": "root = true\n\n[*]\nend_of_line = lf\ninsert_final_newline = true\ntrim_trailing_whitespace = true\ncharset = utf-8\n\n[*.js]\nindent_style = space\nindent_size = 2\n\n[{package.json,*.yml,*.cjson}]\nindent_style = space\nindent_size = 2\n"
  },
  {
    "path": ".eslintignore",
    "content": "dist\n"
  },
  {
    "path": ".eslintrc",
    "content": "{\n  \"extends\": [\n    \"@nuxtjs/eslint-config-typescript\"\n  ]\n}\n"
  },
  {
    "path": ".github/workflows/ci.yml",
    "content": "\nname: ci\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  ci:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: actions/setup-node@v3\n        with:\n          node-version: '14'\n          cache: yarn\n      - run: yarn install\n      - run: yarn lint\n"
  },
  {
    "path": ".gitignore",
    "content": ".vscode\nnode_modules\n*.log\n.DS_Store\ncoverage\ndist\ntypes\n.conf*\n"
  },
  {
    "path": "CHANGELOG.md",
    "content": "# Changelog\n\nAll notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.\n\n## [0.1.0](https://github.com/unjs/unkit/compare/v0.0.2...v0.1.0) (2021-08-26)\n\n\n### ⚠ BREAKING CHANGES\n\n* update ohmyfetch to 0.3.x\n\n### Features\n\n* update ohmyfetch to 0.3.x ([96d3193](https://github.com/unjs/unkit/commit/96d319385dacdef5cea8f2fc01c02a5dcfe28102))\n\n### [0.0.2](https://github.com/unjs/unkit/compare/v0.0.1...v0.0.2) (2021-08-25)\n\n### 0.0.1 (2021-08-25)\n"
  },
  {
    "path": "LICENSE",
    "content": "MIT License\n\nCopyright (c) 2022 UnJS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "README.md",
    "content": "# unkit\n\n> UnJS standard library\n\nThis package aggregates a collection of useful packages from [unjs](https://github.com/unjs) for ease of use.\n\n## 💿 Install\n\nInstall using npm or yarn:\n\n```bash\nnpm i unkit\n# or\nyarn add unkit\n```\n\nImport a subpath:\n\n```js\n// ESM / Typescript\nimport { pascalCase  } from 'unkit/string'\n\n// CommonJS\nconst { pascalCase } = require('unkit/string')\n```\n\n**💡 Note:** Please **always** explicitly install `unkit` dependency even if it is already installed by another package in `node_modules`.\n\nCheck [⬆️ Upgrading Guide](#%EF%B8%8F-upgrading) for upgrading versions.\n\n## 📙 Libraries\n\nLibraries are exposed via semantic subpaths. Refer to each package documentation for available utilities.\n\nSubpath | Packages\n--------|-------------\n[`unkit/env`](#env)  | [unjs/std-env](https://github.com/unjs/std-env)\n[`unkit/esm`](#esm)   | [unjs/mlly](https://github.com/unjs/mlly)\n[`unkit/fetch`](#fetch)  | [unjs/ohmyfetch](https://github.com/unjs/ohmyfetch)\n[`unkit/http`](#http)  | [unjs/h3](https://github.com/unjs/h3), [unjs/is-https](https://github.com/unjs/is-https)\n[`unkit/object`](#object)  | [unjs/defu](https://github.com/unjs/defu), [unjs/destr](https://github.com/unjs/destr)\n[`unkit/promise`](#promise)  | [unjs/items-promise](https://github.com/unjs/items-promise)\n[`unkit/string`](#string)  | [unjs/scule](https://github.com/unjs/scule)\n[`unkit/url`](#url)  | [unjs/ufo](https://github.com/unjs/ufo)\n\n### `/env`\n\n> Useful environment information of running code.\n\n👉 See [unjs/std-env](https://github.com/unjs/std-env) for more information.\n\n```js\n// ESM / Typescript\nimport {  production, dev } from 'unkit/env'\n\n// CommonJS\nconst { production, dev } = require('unkit/env')\n```\n\n### `/esm`\n\n> Missing ECMaScript module utils for Node.js\n\n👉 See [unjs/mlly](https://github.com/unjs/mlly) for more information.\n\n```js\n// ESM / Typescript\nimport { createCommonJS, resolve } from 'unkit/esm'\n```\n\n### `/fetch`\n\n> A better fetch API. Works on node, browser, and workers\n\n👉 See [unjs/ohmyfetch](https://github.com/unjs/ohmyfetch) for more information.\n\n```js\n// ESM / Typescript\nimport { $fetch } from 'unkit/fetch'\n\n// CommonJS\nconst { $fetch } = require('unkit/fetch')\n```\n\n### `/http`\n\n> Helpers for creating HTTP servers\n\n👉 See [unjs/h3](https://github.com/unjs/h3) and [unjs/is-https](https://github.com/unjs/is-https) for more information.\n\n```js\n// ESM / Typescript\nimport { useBody, isHTTPS } from 'unkit/http'\n\n// CommonJS\nconst { useBody, isHTTPS } = require('unkit/http')\n```\n\n### `/object`\n\n> Utilities for working with objects and serialization\n\n👉 See [unjs/defu](https://github.com/unjs/defu) and [unjs/destr](https://github.com/unjs/destr) for more information.\n\n```js\n// ESM / Typescript\nimport { defaults, parseJSON } from 'unkit/object'\n\n// CommonJS\nconst { defaults, parseJSON } = require('unkit/object')\n```\n\n### `/promise`\n\n> Promise utils\n\n👉 See [unjs/items-promise](https://github.com/unjs/items-promise) for more information.\n\n```js\n// ESM / Typescript\nimport { serial, parallel } from 'unkit/promise'\n\n// CommonJS\nconst { serial, parallel } = require('unkit/promise')\n```\n\n### `/string`\n\n> String manipulation utils\n\n👉 See [unjs/scule](https://github.com/unjs/scule) for more information.\n\n```js\n// ESM / Typescript\nimport { snakeCase, upperFirst } from 'unkit/string'\n\n// CommonJS\nconst { snakeCase, upperFirst } = require('unkit/string')\n```\n\n### `/url`\n\n> Utilities to work with URLs\n\n👉 See [unjs/ufo](https://github.com/unjs/ufo) for more information.\n\n```js\n// ESM / Typescript\nimport { joinURL, withQuery } from 'unkit/url'\n\n// CommonJS\nconst { joinURL, withQuery } = require('unkit/url')\n```\n\n## ⬆️ Upgrading\n\nUnkit uses npm dependencies with [caret range](https://nodesource.com/blog/semver-tilde-and-caret#caretflexibleminorandpatch),\n this means when you freshly install `unkit`, the latest features and fixes of sub-dependencies are installed. For upgrading we have two choices:\n\n - Use `npm up unkit` or `yarn upgrade unkit`: This will update the lock-file with minimal risk to the latest versions.\n - Remove `package-lock.json` or `yarn.lock` and reinstall dependencies with `npm i` or `yarn` this will update all nested dependencies to the latest.\n\n## License\n\n[MIT](./LICENSE)\n\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"unkit\",\n  \"version\": \"0.1.0\",\n  \"description\": \"UnJS standard library\",\n  \"repository\": \"unjs/unkit\",\n  \"license\": \"MIT\",\n  \"sideEffects\": false,\n  \"type\": \"module\",\n  \"exports\": {\n    \"./env\": {\n      \"import\": \"./dist/env.mjs\",\n      \"require\": \"./dist/env.cjs\",\n      \"types\": \"./dist/env.d.ts\"\n    },\n    \"./esm\": {\n      \"import\": \"./dist/esm.mjs\",\n      \"require\": \"./dist/esm.cjs\",\n      \"types\": \"./dist/esm.d.ts\"\n    },\n    \"./fetch\": {\n      \"import\": \"./dist/fetch.mjs\",\n      \"require\": \"./dist/fetch.cjs\",\n      \"types\": \"./dist/fetch.d.ts\"\n    },\n    \"./http\": {\n      \"import\": \"./dist/http.mjs\",\n      \"require\": \"./dist/http.cjs\",\n      \"types\": \"./dist/http.d.ts\"\n    },\n    \"./object\": {\n      \"import\": \"./dist/object.mjs\",\n      \"require\": \"./dist/object.cjs\",\n      \"types\": \"./dist/object.d.ts\"\n    },\n    \"./promise\": {\n      \"import\": \"./dist/promise.mjs\",\n      \"require\": \"./dist/promise.cjs\",\n      \"types\": \"./dist/promise.d.ts\"\n    },\n    \"./string\": {\n      \"import\": \"./dist/string.mjs\",\n      \"require\": \"./dist/string.cjs\",\n      \"types\": \"./dist/string.d.ts\"\n    },\n    \"./url\": {\n      \"import\": \"./dist/url.mjs\",\n      \"require\": \"./dist/url.cjs\",\n      \"types\": \"./dist/url.d.ts\"\n    }\n  },\n  \"files\": [\n    \"dist\"\n  ],\n  \"scripts\": {\n    \"build\": \"unbuild\",\n    \"lint\": \"eslint --ext .ts .\",\n    \"prepublishOnly\": \"yarn build\",\n    \"release\": \"yarn test && standard-version && git push --follow-tags && npm publish\",\n    \"test\": \"yarn lint \"\n  },\n  \"dependencies\": {\n    \"defu\": \"^6.1.4\",\n    \"destr\": \"^1.2.2\",\n    \"h3\": \"^0.8.6\",\n    \"is-https\": \"^4.0.0\",\n    \"items-promise\": \"^1.0.0\",\n    \"mlly\": \"^0.5.17\",\n    \"ohmyfetch\": \"^0.4.21\",\n    \"requrl\": \"^3.0.2\",\n    \"scule\": \"^0.3.2\",\n    \"std-env\": \"^3.8.0\",\n    \"ufo\": \"^0.8.6\"\n  },\n  \"devDependencies\": {\n    \"@nuxtjs/eslint-config-typescript\": \"latest\",\n    \"eslint\": \"latest\",\n    \"standard-version\": \"latest\",\n    \"typescript\": \"latest\",\n    \"unbuild\": \"^1.2.1\"\n  }\n}\n"
  },
  {
    "path": "renovate.json",
    "content": "{\n  \"extends\": [\n    \"github>unjs/renovate-config\"\n  ]\n}\n"
  },
  {
    "path": "src/env.ts",
    "content": "export * from 'std-env'\n"
  },
  {
    "path": "src/esm.ts",
    "content": "export * from 'mlly'\n"
  },
  {
    "path": "src/fetch.ts",
    "content": "export * from 'ohmyfetch'\n"
  },
  {
    "path": "src/http.ts",
    "content": "export * from 'h3'\nexport { default as isHTTPS } from 'is-https'\n"
  },
  {
    "path": "src/index.ts",
    "content": "export default { error: 'please use subpath imports from unkit. See https://github.com/unjs/unkit' }\n"
  },
  {
    "path": "src/object.ts",
    "content": "export {\n  default as defu,\n  default as defaults\n} from 'defu'\nexport {\n  default as destr,\n  default as parseJSON\n} from 'destr'\n"
  },
  {
    "path": "src/promise.ts",
    "content": "// @ts-ignore TODO: Add types\nexport * from 'items-promise'\n"
  },
  {
    "path": "src/string.ts",
    "content": "export * from 'scule'\n"
  },
  {
    "path": "src/url.ts",
    "content": "export * from 'ufo'\n"
  },
  {
    "path": "tsconfig.json",
    "content": "{\n  \"compilerOptions\": {\n    \"target\": \"ES6\",\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"Node\",\n    \"esModuleInterop\": true,\n    \"outDir\": \"dist\",\n    \"strict\": true,\n    \"declaration\": true,\n  }\n}\n"
  }
]