# npm-modules-as-packages

> Node.js modules are a type of package that can be published to npm.

Latest version **1.0.1** (published 2022-05-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install npm-modules-as-packages
pnpm add npm-modules-as-packages
yarn add npm-modules-as-packages
bun add npm-modules-as-packages
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-05-12 |
| First published | 2022-05-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 952 B |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | senichimaro |

## Links

- npm: https://www.npmjs.com/package/npm-modules-as-packages
- npm.io page: https://npm.io/package/npm-modules-as-packages

## Recent versions

- 1.0.1 (latest) — 2022-05-12
- 1.0.0 — 2022-05-12

## README

# Creating Node.js modules
Node.js modules are a type of package that can be published to npm.

1. Create a package.json file
2. Create the main file that will be loaded when your module is required by another application
3. Publish your package to npm: To publish your private package to the npm registry run `npm publish`
4. To see your private package page, visit `https://npmjs.com/package/*package-name`, replacing **package-name** with the name of your package. Private packages will say private below the package name on the npm website.

---
_Source: https://npm.io/package/npm-modules-as-packages · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
