# nguyenlt-common-js

> Common JS library

Latest version **0.0.1** (published 2020-02-09) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install nguyenlt-common-js
pnpm add nguyenlt-common-js
yarn add nguyenlt-common-js
bun add nguyenlt-common-js
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2020-02-09 |
| First published | 2020-02-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 202 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Nguyen.LT |
| Maintainers | nguyenlt |

## Links

- npm: https://www.npmjs.com/package/nguyenlt-common-js
- npm.io page: https://npm.io/package/nguyenlt-common-js

## Recent versions

- 0.0.1 (latest) — 2020-02-09

## README

# @zjs/common

> ZTE common JavaScript library

## Installation

The package is published to our [private NPM registry](https://zalogit2.zing.vn/zmjs/docs/wikis/Private-NPM-registry).
Hence before install the package, add to `.npmrc`:

```
registry = http://nexus-repo.zapps.vn/repository/zjs-registry/
```

Then install it as normal:

```bash
npm i @zjs/common
```

## Usage

```javascript
import { createPromiseDefer } from '@zjs/common/promise';
// OR
const { createPromiseDefer } =  require('@zjs/common/promise);
```

See [documentation](https://zjs.zingmp3.vn/zjs-common/) for list of modules.

## Development

See [CONTRIBUTING.md](https://zalogit2.zing.vn/zmjs/lib/common/blob/master/CONTRIBUTING.md)
or check the [example](https://zalogit2.zing.vn/zmjs/lib/common/merge_requests/4/).

## Release

Assume that you are in `master` branch and you have write access to the `origin`
remote, type the following command to release a new version:

`./scripts/release.sh patch`

In case your Git remote is NOT `origin`:

`./scripts/release.sh major my-remote`

You can replace `major` by `minor` or `patch` depending on your release.

Once done, `@zjs/common` package will be published to [our private NPM registry](http://nexus-repo.zapps.vn/repository/zjs-registry/).

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