{"id":19584833,"url":"https://github.com/flex-development/pkg-types","last_synced_at":"2025-04-27T11:32:57.711Z","repository":{"id":64174783,"uuid":"572349456","full_name":"flex-development/pkg-types","owner":"flex-development","description":"TypeScript definitions for package.json","archived":false,"fork":false,"pushed_at":"2024-04-23T03:44:19.000Z","size":3417,"stargazers_count":1,"open_issues_count":10,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-01T09:40:38.601Z","etag":null,"topics":["package-json","typescript","typescript-definitions"],"latest_commit_sha":null,"homepage":"https://github.com/flex-development/pkg-types","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flex-development.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/funding.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["flex-development"]}},"created_at":"2022-11-30T04:29:31.000Z","updated_at":"2023-07-26T22:19:21.000Z","dependencies_parsed_at":"2024-08-28T01:32:17.009Z","dependency_job_id":"314c9f63-c3c2-4b16-8742-42b70e301b86","html_url":"https://github.com/flex-development/pkg-types","commit_stats":{"total_commits":146,"total_committers":2,"mean_commits":73.0,"dds":0.452054794520548,"last_synced_commit":"8182682a03700f7c8a798c1b7a83cf764f59c6a7"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flex-development%2Fpkg-types","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flex-development%2Fpkg-types/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flex-development%2Fpkg-types/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flex-development%2Fpkg-types/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flex-development","download_url":"https://codeload.github.com/flex-development/pkg-types/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224069554,"owners_count":17250454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["package-json","typescript","typescript-definitions"],"created_at":"2024-11-11T07:50:01.736Z","updated_at":"2024-11-11T07:50:02.749Z","avatar_url":"https://github.com/flex-development.png","language":"TypeScript","funding_links":["https://github.com/sponsors/flex-development"],"categories":[],"sub_categories":[],"readme":"# pkg-types\n\n[![github release](https://img.shields.io/github/v/release/flex-development/pkg-types.svg?include_prereleases\\\u0026sort=semver)](https://github.com/flex-development/pkg-types/releases/latest)\n[![npm](https://img.shields.io/npm/v/@flex-development/pkg-types.svg)](https://npmjs.com/package/@flex-development/pkg-types)\n[![module type: esm](https://img.shields.io/badge/module%20type-esm-brightgreen)](https://github.com/voxpelli/badges-cjs-esm)\n[![license](https://img.shields.io/github/license/flex-development/pkg-types.svg)](LICENSE.md)\n[![conventional commits](https://img.shields.io/badge/-conventional%20commits-fe5196?logo=conventional-commits\\\u0026logoColor=ffffff)](https://conventionalcommits.org)\n[![typescript](https://img.shields.io/badge/-typescript-3178c6?logo=typescript\\\u0026logoColor=ffffff)](https://typescriptlang.org)\n[![vitest](https://img.shields.io/badge/-vitest-6e9f18?style=flat\\\u0026logo=vitest\\\u0026logoColor=ffffff)](https://vitest.dev)\n[![yarn](https://img.shields.io/badge/-yarn-2c8ebb?style=flat\\\u0026logo=yarn\\\u0026logoColor=ffffff)](https://yarnpkg.com)\n\n[TypeScript][] definitions for `package.json`\n\n## Contents\n\n- [What is this?](#what-is-this)\n- [Install](#install)\n- [Use](#use)\n- [API](#api)\n- [Related](#related)\n- [Contribute](#contribute)\n\n## What is this?\n\nThis package contains TypeScript definitions for `package.json` files and values used in `package.json` files.\n\n## Install\n\nIn Node.js with [yarn][]:\n\n```sh\nyarn add @flex-development/pkg-types\n```\n\n\u003cblockquote\u003e\n  \u003csmall\u003e\n    See \u003ca href='https://yarnpkg.com/protocol/git'\u003eGit - Protocols | Yarn\u003c/a\u003e\n    \u0026nbsp;for details regarding installing from Git.\n  \u003c/small\u003e\n\u003c/blockquote\u003e\n\n## Use\n\n```ts\nimport type {\n  Condition,\n  ConditionMap,\n  ConditionalTargets,\n  Exports,\n  ExportsKey,\n  ExportsObject,\n  ExportsSubpath,\n  Imports,\n  ImportsSubpath,\n  PackageJson,\n  PackageType,\n  SubpathExports,\n  Target,\n  TargetList\n} from '@flex-development/pkg-types'\n```\n\n## API\n\n- [`Access`](./src/access.ts)\n- [`BinObject`](./src/bin-object.ts)\n- [`Bin`](./src/bin.ts)\n- [`BrowserObject`](./src/browser-object.ts)\n- [`Browser`](./src/browser.ts)\n- [`Bugs`](./src/bugs.ts)\n- [`CPUMap`](./src/cpu-map.ts)\n- [`CPU`](./src/cpu.ts)\n- [`ConditionMap`](./src/condition-map.ts)\n- [`Condition`](./src/condition.ts)\n- [`ConditionalTargets`](./src/conditional-targets.ts)\n- [`Config`](./src/config.ts)\n- [`Dependencies`](./src/dependencies.ts)\n- [`DevDependencies`](./src/dev-dependencies.ts)\n- [`Directories`](./src/directories.ts)\n- [`EngineMap`](./src/engine-map.ts)\n- [`Engine`](./src/engine.ts)\n- [`Engines`](./src/engines.ts)\n- [`ExportsKey`](./src/exports-key.ts)\n- [`ExportsObject`](./src/exports-object.ts)\n- [`ExportsSubpath`](./src/exports-subpath.ts)\n- [`Exports`](./src/exports.ts)\n- [`ImportsSubpath`](./src/imports-subpath.ts)\n- [`Imports`](./src/imports.ts)\n- [`JsonArray`](./src/json-array.ts)\n- [`JsonObject`](./src/json-object.ts)\n- [`JsonPrimitive`](./src/json-primitive.ts)\n- [`JsonValue`](./src/json-value.ts)\n- [`LicenseInfo`](./src/license-info.ts)\n- [`OSMap`](./src/os-map.ts)\n- [`OS`](./src/os.ts)\n- [`OptionalDependencies`](./src/optional-dependencies.ts)\n- [`PackageJson`](./src/package-json.ts)\n- [`PackageManagerMap`](./src/package-manager-map.ts)\n- [`PackageManager`](./src/package-manager.ts)\n- [`PackageType`](./src/package-type.ts)\n- [`PeerDependenciesMeta`](./src/peer-dependencies-meta.ts)\n- [`PeerDependencies`](./src/peer-dependencies.ts)\n- [`PeerDependencyMetadata`](./src/peer-dependency-metadata.ts)\n- [`People`](./src/people.ts)\n- [`Person`](./src/person.ts)\n- [`PublishConfig`](./src/publish-config.ts)\n- [`RepositoryInfo`](./src/repository-info.ts)\n- [`RepositoryTypeMap`](./src/repository-type-map.ts)\n- [`RepositoryType`](./src/repository-type.ts)\n- [`Scripts`](./src/scripts.ts)\n- [`SemanticVersion`](./src/semantic-version.ts)\n- [`SubpathExports`](./src/subpath-exports.ts)\n- [`TargetList`](./src/target-list.ts)\n- [`Target`](./src/target.ts)\n- [`TypesVersions`](./src/types-versions.ts)\n- [`WorkspacesConfig`](./src/workspaces-config.ts)\n\n## Related\n\n- [`tsconfig-types`][tsconfig-types] — TypeScript definitions for `tsconfig.json`\n\n## Contribute\n\nSee [`CONTRIBUTING.md`](CONTRIBUTING.md).\n\nThis project has a [code of conduct](./CODE_OF_CONDUCT.md). By interacting with this repository, organization, or\ncommunity you agree to abide by its terms.\n\n[tsconfig-types]: https://github.com/flex-development/tsconfig-types\n\n[typescript]: https://www.typescriptlang.org\n\n[yarn]: https://yarnpkg.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflex-development%2Fpkg-types","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflex-development%2Fpkg-types","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflex-development%2Fpkg-types/lists"}