Node.js package.json Basic project definition


Example

{
    "name": "my-project",
    "version": "0.0.1",
    "description": "This is a project.",
    "author": "Someone <someone@example.com>",
    "contributors": [{
        "name": "Someone Else",
        "email": "else@example.com"
    }],
    "keywords": ["improves", "searching"]
}
FieldDescription
namea required field for a package to install. Needs to be lowercase, single word without spaces. (Dashes and underscores allowed)
versiona required field for the package version using semantic versioning.
descriptiona short description of the project
authorspecifies the author of the package
contributorsan array of objects, one for each contributor
keywordsan array of strings, this will help people finding your package