[JS Api](../index.md) / NodePackage

# Interface: NodePackage

Type for package.json https://docs.npmjs.com/cli/v8/configuring-npm/package-json

## Table of contents

### Properties

- [bugs](NodePackage.md#bugs)
- [cadlMain](NodePackage.md#cadlmain)
- [dependencies](NodePackage.md#dependencies)
- [devDependencies](NodePackage.md#devdependencies)
- [homepage](NodePackage.md#homepage)
- [main](NodePackage.md#main)
- [name](NodePackage.md#name)
- [peerDependencies](NodePackage.md#peerdependencies)
- [private](NodePackage.md#private)
- [type](NodePackage.md#type)
- [version](NodePackage.md#version)

## Properties

### bugs

• `Optional` **bugs**: `Object`

#### Type declaration

| Name | Type |
| :------ | :------ |
| `email?` | `string` |
| `url?` | `string` |

___

### cadlMain

• `Optional` **cadlMain**: `string`

___

### dependencies

• `Optional` **dependencies**: `Record`<`string`, `string`\>

___

### devDependencies

• `Optional` **devDependencies**: `Record`<`string`, `string`\>

___

### homepage

• `Optional` **homepage**: `string`

___

### main

• `Optional` **main**: `string`

___

### name

• **name**: `string`

___

### peerDependencies

• `Optional` **peerDependencies**: `Record`<`string`, `string`\>

___

### private

• `Optional` **private**: `boolean`

___

### type

• `Optional` **type**: ``"module"`` \| ``"commonjs"``

___

### version

• **version**: `string`
