open-index/open-npm huggingface dataset:
npm package: @jkntji/nestjs-package-starter
Description: NestJS npm package starter
Author: Jaikant
Latest version: 1.0.1

<h1 align="center"></h1>

<div align="center">
  <a href="http://nestjs.com/" target="_blank">
    <img src="https://nestjs.com/img/logo_text.svg" width="150" alt="Nest Logo" />
  </a>
</div>

<h3 align="center">NestJS npm Package Starter</h3>

<div align="center">
  <a href="https://nestjs.com" target="_blank">
    <img src="https://img.shields.io/badge/built%20with-NestJs-red.svg" alt="Built with NestJS">
  </a>
</div>

### Installation

1. Clone the repo
2. Run npm/yarn install

```bash
cd nestjs-package-starter
npm install
```

## Change Log

See [Changelog](CHANGELOG.md) for more information.

## Contributing

Contributions welcome! See [Contributing](CONTRIBUTING.md).

## Author

**Jai**

## License

Licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
npm package: @jkob/chrome
Description: Headless chrome tools
Author: Jakub Wiśniewski
Latest version: 1.3.1

Usage

```js
import { isElementVisible } from "@jkob/chrome";

const isVisible = await isElementVisible(PuppeteerPage, "div.selector");
const isVisible = await isElementVisible(PuppeteerPage, "div.selector", 2000);
```

```js
import { repeatWhileVisible } from "@jkob/chrome";

await repeatWhileVisible(PuppeteerPage, "div.selector", () => {
	// do something
});

```
npm package: @jkob/common
Description: Common Tools
Author: Jakub Wiśniewski
Latest version: 1.7.3

Sleep function
```js
import { sleep } from '@jkob/common';
await sleep(2000); // in milliseconds
```

String methods
```js
import { str } from '@jkob/common';
const { fixedLength, textToId, normalize } = str;
fixedLength(10, "..", true);
normalize("..")
textToId("..")
```
npm package: @jkob/mo
Description: MongoDB driver for node
Author: Jakub Wiśniewski
Latest version: 3.0.4

MongoDB Node wrapper

Usage:
```js
const { Mo } = require('@jkob/mo');

const mo = new Mo({
	uri: 'mongodb://user:[pass]@localhost:27017'
	databaseName: '',
	password: '', // optional
	collections: ['', ''] // names of collections in database
});

await mo.connect();
// do things
await mo.close();
```
npm package: @jkob/node
Description: Node.js only tools
Author: Jakub Wiśniewski
Latest version: 2.0.3

```js
import { download, json, isDevelopment, isProduction } from "@jkob/node";
const text = await download('http://...');
const json = await json('https://...');

const isDev = isDevelopment();
const isProd = isProduction();
```