# @erniamor/packager

> JavaScript library that provide an exemple for NPM package.

Latest version **1.0.2** (published 2022-10-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @erniamor/packager
pnpm add @erniamor/packager
yarn add @erniamor/packager
bun add @erniamor/packager
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-10-06 |
| First published | 2022-09-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Romain Re |
| Maintainers | erniamor |
| Keywords | npm, javascript, typescript, esm, cjs, nodejs, commonjs, ecmascript, beginner, example, demonstration |

## Links

- npm: https://www.npmjs.com/package/@erniamor/packager
- Repository: https://github.com/erniamor/packager
- Homepage: https://github.com/erniamor/packager#readme
- Issues: https://github.com/erniamor/packager/issues
- npm.io page: https://npm.io/package/@erniamor/packager

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2022-10-06
- 1.0.1 — 2022-10-06
- 1.0.0 — 2022-09-21
- 0.0.1 — 2022-09-20
- 0.0.0 — 2022-09-20

## README

# Packager

> Packager is a minimalist JavaScript library that provide an example for NPM package.

* 💪 Immutable
* 📦 No dependancies
* 👫 All browsers supported
* ✅ Fully tested
* 😎 100% covered

---

## Getting Started

### Installation

```console
npm install @erniamor/packager
```

### Usage

1. Import function from package

```javascript
import { sayHello } from '@erniamor/packager';
```

2. Call function with expected arguments

```javascript
sayHello('Martin'); // return "Hello Martin !"
```

## API

It's easy to use Packager APIs.

### sayHello

Say Hello to the name passed in argument

**Arguments**

name (string) : The name to say hello

**Return**

(string) : The hello to the name

**Example**

```javascript
sayHello('Martin'); // return "Hello Martin !"
```
---

## Tests

- Run tests with npm test command

```console
npm run test
```

- Run covered tests with npm test-coverage command

```console
npm run test-coverage
```

- Open coverage html report

```console
npx http-server ./coverage
```

And open your browser at http://127.0.0.1:8080

---

## How to deploy to NPM

### Print Package files

To see the contents that will be included in the published version of the package.

```console
npx npm-packlist
```

### Print Package details

To see what would be done when actually running the command.

```console
npm publish --dry-run
```

### Publish package

To actually publish the package to npm.

```console
npm publish --access=public
```

## License

Packager is licensed under a [MIT License](./LICENSE).

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