Skip to content

Typings for schema of a npm package's package.json #596

@rozzzly

Description

@rozzzly

Okay, so I'm trying to find a type definition for the schema/deserialized content of a package.json file. You know the manifest as it were for an npm package, exists at the root of our projects, contains stuff like:

  "author": "rozzzly",
  "license": "MIT",
  "dependencies": {
    "immutable": "^3.8.1
  }

...but I can't find one. It's been like 45+ minutes and even though I'm a seasoned internets lurker, I still can't find it! I'm positive this must exist somewhere, its too common not to. But it's buried somewhere in hundreds of thousands of results referring to publishing npm packages, resolving type definitions, etc.

So far I've tried dozens search queries with google, github via org: typings _______ / org: DefinitelyTyped _______, and of course via the cli typings search _______.

I still can't find it. I know one of you out there has to have used it before, might you be kind enough to share a link?


Additionally, what can we do so other developers looking for the same thing have an easier time? From my point of view, this essentially means getting the desired .d.ts higher in Google search results. I've got a few thoughts on how this could be achieved, but want to hear from you first.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions