open-index/open-npm huggingface dataset:
npm package: @supercharge/filesystem
Description: Async filesystem methods for Node.js
Author: Marcus Pöhls
Latest version: 2.3.0
Deprecated: This package has been renamed to @supercharge/fs. Use @supercharge/fs instead

<div align="center">
  <a href="https://superchargejs.com">
    <img width="471" style="max-width:100%;" src="https://superchargejs.com/images/supercharge-text.svg" />
  </a>
  <br/>
  <br/>
  <p>
    <h3>Filesystem</h3>
  </p>
  <p>
    Async filesystem methods for Node.js
  </p>
  <br/>
  <p>
    <a href="#installation"><strong>Installation</strong></a> ·
    <a href="#Docs"><strong>Docs</strong></a> ·
    <a href="#usage"><strong>Usage</strong></a>
  </p>
  <br/>
  <br/>
  <p>
    <a href="https://www.npmjs.com/package/@supercharge/filesystem"><img src="https://img.shields.io/npm/v/@supercharge/filesystem.svg" alt="Latest Version"></a>
    <a href="https://www.npmjs.com/package/@supercharge/filesystem"><img src="https://img.shields.io/npm/dm/@supercharge/filesystem.svg" alt="Monthly downloads"></a>
  </p>
  <p>
    <em>Follow <a href="http://twitter.com/marcuspoehls">@marcuspoehls</a> and <a href="http://twitter.com/superchargejs">@superchargejs</a> for updates!</em>
  </p>
</div>

---

## Introduction
The `@supercharge/filesystem` package provides async filesystem methods. It’s a wrapper around Node.js’ `fs` package exposing only async methods. It provides a handful of additional methods, like `copy`, `move`, `ensureFile`, `size`, and `tempFile` (there are actually a lot more).

**Please notice:** this package is not providing all of the native `fs` methods from Node.js. It provides dozens of most used methods, fully async.


## Installation

```
npm i @supercharge/filesystem
```


## Docs
Find all the [details for `@supercharge/filesystem` in the extensive Supercharge docs](https://superchargejs.com/docs/filesystem).


## Usage
Using `@supercharge/filesystem` is pretty straightforward. Install and import the package in your project and use the methods to interact with the filesystem.

For example, you may copy or move a file from `src` to `dest` or retrieve a file’s size:

```js
const Fs = require('@supercharge/filesystem')

await Fs.copy(src, dest)
await Fs.move(src, dest)

const size = await Fs.size(file)
// 3758 bytes
```

Have a look at the [docs](https://superchargejs.com/docs/filesystem) for this package to find more details on all supported methods.


## Contributing
Do you miss a string function? We very much appreciate your contribution! Please send in a pull request 😊

1.  Create a fork
2.  Create your feature branch: `git checkout -b my-feature`
3.  Commit your changes: `git commit -am 'Add some feature'`
4.  Push to the branch: `git push origin my-new-feature`
5.  Submit a pull request 🚀


## License
MIT © [Supercharge](https://superchargejs.com)

---

> [superchargejs.com](https://superchargejs.com) &nbsp;&middot;&nbsp;
> GitHub [@superchargejs](https://github.com/superchargejs/) &nbsp;&middot;&nbsp;
> Twitter [@superchargejs](https://twitter.com/superchargejs)
npm package: @supercharge/fs
Description: Async filesystem methods for Node.js
Author: Marcus Pöhls
Latest version: 3.4.2

<div align="center">
  <a href="https://superchargejs.com">
    <img width="471" style="max-width:100%;" src="https://superchargejs.com/images/supercharge-text.svg" />
  </a>
  <br/>
  <br/>
  <p>
    <h3>Fs</h3>
  </p>
  <p>
    Extended drop-in <strong><code>fs</code></strong> replacement for Node.js
  </p>
  <br/>
  <p>
    <a href="#installation"><strong>Installation</strong></a> ·
    <a href="#resources"><strong>Docs</strong></a> ·
    <a href="#quick-usage-overview"><strong>Usage</strong></a>
  </p>
  <br/>
  <br/>
  <p>
    <a href="https://www.npmjs.com/package/@supercharge/fs"><img src="https://img.shields.io/npm/v/@supercharge/fs.svg" alt="Latest Version"></a>
    <a href="https://www.npmjs.com/package/@supercharge/fs"><img src="https://img.shields.io/npm/dm/@supercharge/fs.svg" alt="Monthly downloads"></a>
  </p>
  <p>
    <em>Follow <a href="http://twitter.com/marcuspoehls">@marcuspoehls</a> and <a href="http://twitter.com/superchargejs">@superchargejs</a> for updates!</em>
  </p>
</div>

---

## Introduction
The `@supercharge/fs` package provides an improved and extended [`fs`](https://nodejs.org/dist/latest-v12.x/docs/api/fs.html) implementation

- provides convenience methods like `isFile(path)` or `isDirectory(path)`
- useful methods, like `copy`, `ensureFile`, `ensureDir`
- based on [fs-extra](https://github.com/jprichardson/node-fs-extra) providing all native `fs` methods from Node.js
- full async/await support
- aligned camelCase method naming, like `realPath` instead of `realpath`


## Installation

```
npm i @supercharge/fs
```


## Resources
- [Documentation](https://superchargejs.com/docs/filesystem)


## Quick Usage Overview
Using `@supercharge/fs` is pretty straightforward. Install and import the package in your project and use the methods to interact with the filesystem.

For example, you may copy or move a file from `src` to `dest` or retrieve a file’s size:

```js
const Fs = require('@supercharge/fs')

await Fs.copy(src, dest)
await Fs.move(src, dest)

const size = await Fs.size(file)
// 3758 bytes
```

Have a look at the [docs](https://superchargejs.com/docs/filesystem) for this package to find more details on all supported methods.


## Contributing
Do you miss a string function? We very much appreciate your contribution! Please send in a pull request 😊

1.  Create a fork
2.  Create your feature branch: `git checkout -b my-feature`
3.  Commit your changes: `git commit -am 'Add some feature'`
4.  Push to the branch: `git push origin my-new-feature`
5.  Submit a pull request 🚀


## License
MIT © [Supercharge](https://superchargejs.com)

---

> [superchargejs.com](https://superchargejs.com) &nbsp;&middot;&nbsp;
> GitHub [@supercharge](https://github.com/supercharge/) &nbsp;&middot;&nbsp;
> Twitter [@superchargejs](https://twitter.com/superchargejs)
npm package: @supercharge/goodies
Description: Utility functions for Node.js and JavaScript
Author: Marcus Pöhls
Latest version: 2.0.0

<div align="center">
  <a href="https://superchargejs.com">
    <img width="471" style="max-width:100%;" src="https://superchargejs.com/images/supercharge-text.svg" />
  </a>
  <br/>
  <br/>
  <p>
    <h3>Goodies</h3>
  </p>
  <p>
    Helper and utility functions for Node.js.
  </p>
  <br/>
  <p>
    <a href="#installation"><strong>Installation</strong></a> ·
    <a href="#docs"><strong>Docs</strong></a> ·
    <a href="#api"><strong>API</strong></a>
  </p>
  <br/>
  <br/>
  <p>
    <a href="https://www.npmjs.com/package/@supercharge/goodies"><img src="https://img.shields.io/npm/v/@supercharge/goodies.svg" alt="Latest Version"></a>
    <a href="https://www.npmjs.com/package/@supercharge/goodies"><img src="https://img.shields.io/npm/dm/@supercharge/goodies.svg" alt="Monthly downloads"></a>
  </p>
  <p>
    <em>Follow <a href="http://twitter.com/marcuspoehls">@marcuspoehls</a> and <a href="http://twitter.com/superchargejs">@superchargejs</a> for updates!</em>
  </p>
</div>

---

## Introduction
The `@supercharge/goodies` package provides a handful of useful helper functions for Node.js and JavaScript, like an async `tap` function.


## Installation

```
npm i @supercharge/goodies
```


## Docs
Find all the [details for `@supercharge/goodies` in the extensive Supercharge docs](https://superchargejs.com/docs/goodies).


## API
Using `@supercharge/goodies` is pretty straightforward. The package exports a handful of methods that you can reach for when requiring the package:


#### tap(value, callback)
Returns the `value` after running the `callback`. The callback receives the value as an argument.

```js
const { tap } = require('@supercharge/goodies')

return tap(await User.find(1), async (user) => {
  await user.subscribeToNewsletter()
})

// returns the user with ID 1
```


#### upon(value, callback)
Returns the result of the callback. The callback receives the value as an argument.

```js
const { upon } = require('@supercharge/goodies')

return upon(await User.find(1), async (user) => {
  return user.email
})

// user@email.com
```


## Contributing
Do you miss a goodie function? We very much appreciate your contribution! Please send in a pull request 😊

1.  Create a fork
2.  Create your feature branch: `git checkout -b my-feature`
3.  Commit your changes: `git commit -am 'Add some feature'`
4.  Push to the branch: `git push origin my-new-feature`
5.  Submit a pull request 🚀


## License
MIT © [Supercharge](https://superchargejs.com)

---

> [superchargejs.com](https://superchargejs.com) &nbsp;&middot;&nbsp;
> GitHub [@supercharge](https://github.com/supercharge) &nbsp;&middot;&nbsp;
> Twitter [@superchargejs](https://twitter.com/superchargejs)
npm package: @supercharge/http-errors
Description: An HTTP error class throwing with proper status codes
Author: Marcus Pöhls
Latest version: 2.1.0

<div align="center">
  <a href="https://superchargejs.com">
    <img width="471" style="max-width:100%;" src="https://superchargejs.com/images/supercharge-text.svg" />
  </a>
  <br/>
  <br/>
  <p>
    <h3>HTTP Errors</h3>
  </p>
  <p>
    An HTTP error class throwing with proper status codes
  </p>
  <br/>
  <p>
    <a href="#installation"><strong>Installation</strong></a> ·
    <a href="#quick-usage-overview"><strong>Usage</strong></a>
  </p>
  <br/>
  <br/>
  <p>
    <a href="https://www.npmjs.com/package/@supercharge/http-errors"><img src="https://img.shields.io/npm/v/@supercharge/http-errors.svg" alt="Latest Version"></a>
    <a href="https://www.npmjs.com/package/@supercharge/http-errors"><img src="https://img.shields.io/npm/dm/@supercharge/http-errors.svg" alt="Monthly downloads"></a>
  </p>
  <p>
    <em>Follow <a href="http://twitter.com/marcuspoehls">@marcuspoehls</a> and <a href="http://twitter.com/superchargejs">@superchargejs</a> for updates!</em>
  </p>
</div>

---

## Introduction
The `@supercharge/http-errors` package provides an HTTP error class with useful defaults.

- provides an `HttpError` base class with defaults to throw proper HTTP errors
- the `HttpError` base class captures stack traces by default
- create your own HTTP error with custom HTTP status code, title, and error code


## Installation

```
npm i @supercharge/http-errors
```


## Quick Usage Overview
Using `@supercharge/http-errors` is pretty straightforward. The package exports the `HttpError` class that you can use like the native `Error` class.

```js
const { HttpError } = require('@supercharge/http-errors')

// create an HTTP 400 BadRequest error yourself
throw new HttpError('invalid request input data', 400)

// … or throw using shortcut methods
throw HttpError.badRequest('Request validation failed')

// … or use a fluent interface to customize the properties
throw new HttpError('Request validation failed')
  .withStatus(400)
  .withCode('E_YOUR_CUSTOM_ERROR_CODE')
```


## Contributing
Do you miss a function? We very much appreciate your contribution! Please send in a pull request 😊

1.  Create a fork
2.  Create your feature branch: `git checkout -b my-feature`
3.  Commit your changes: `git commit -am 'Add some feature'`
4.  Push to the branch: `git push origin my-new-feature`
5.  Submit a pull request 🚀


## License
MIT © [Supercharge](https://superchargejs.com)

---

> [superchargejs.com](https://superchargejs.com) &nbsp;&middot;&nbsp;
> GitHub [@supercharge](https://github.com/supercharge) &nbsp;&middot;&nbsp;
> Twitter [@superchargejs](https://twitter.com/superchargejs)
npm package: @supercharge/inertia
Description: Inertia adapter for the Supercharge Node.js Framework
Author: Marcus Pöhls
Latest version: 2.1.0

<div align="center">
  <a href="https://superchargejs.com">
    <img width="471" style="max-width:100%;" src="https://superchargejs.com/images/supercharge-text.svg" />
  </a>
  <br/>
  <br/>
  <p>
    <h3>Inertia Adapter</h3>
  </p>
  <p>
    A server-side Inertia adapter for Supercharge
  </p>
  <br/>
  <p>
    <a href="#installation"><strong>Installation</strong></a> ·
    <a href="#Docs"><strong>Docs</strong></a> ·
    <a href="#usage"><strong>Usage</strong></a>
  </p>
  <br/>
  <br/>
  <p>
    <a href="https://www.npmjs.com/package/@supercharge/inertia"><img src="https://img.shields.io/npm/v/@supercharge/inertia.svg" alt="Latest Version"></a>
    <a href="https://www.npmjs.com/package/@supercharge/inertia"><img src="https://img.shields.io/npm/dm/@supercharge/inertia.svg" alt="Monthly downloads"></a>
  </p>
  <p>
    <em>Follow <a href="http://twitter.com/marcuspoehls">@marcuspoehls</a> and <a href="http://twitter.com/superchargejs">@superchargejs</a> for updates!</em>
  </p>
</div>

---

## Introduction
The `@supercharge/inertia` package adds support for [Inertia](https://inertiajs.com) to the Supercharge framework.


## Installation

```
npm i @supercharge/inertia
```


## Docs

- 📖 [Documentation](https://superchargejs.com/docs/inertia)


## Compatibility
This package is compatible with Supercharge `3.x` or later:

| Major Release | [Supercharge](https://github.com/supercharge/supercharge) version | Node.js version |
| ----- | ----- | ------ |
| `2.x` | `4.x` | `>=20` |
| `1.x` | `3.x` | `>=16` |


## Contributing
Do you miss a function? We very much appreciate your contribution! Please send in a pull request 😊

1.  Create a fork
2.  Create your feature branch: `git checkout -b my-feature`
3.  Commit your changes: `git commit -am 'Add some feature'`
4.  Push to the branch: `git push origin my-new-feature`
5.  Submit a pull request 🚀


## License
MIT © [Supercharge](https://superchargejs.com)

---

> [superchargejs.com](https://superchargejs.com) &nbsp;&middot;&nbsp;
> GitHub [@supercharge](https://github.com/supercharge) &nbsp;&middot;&nbsp;
> Twitter [@superchargejs](https://twitter.com/superchargejs)
npm package: @supercharge/json
Description: Secure drop-in replacement for the global `JSON` object
Author: Marcus Pöhls
Latest version: 2.0.0

<div align="center">
  <a href="https://superchargejs.com">
    <img width="471" style="max-width:100%;" src="https://superchargejs.com/images/supercharge-text.svg" />
  </a>
  <br/>
  <br/>
  <p>
    <h3>JSON</h3>
  </p>
  <p>
    Secure drop-in replacement for the global `JSON` object with prototype pollution protection
  </p>
  <br/>
  <p>
    <a href="#installation"><strong>Installation</strong></a> ·
    <a href="#usage"><strong>Usage</strong></a>
  </p>
  <br/>
  <br/>
  <p>
    <a href="https://www.npmjs.com/package/@supercharge/json"><img src="https://img.shields.io/npm/v/@supercharge/json.svg" alt="Latest Version"></a>
    <a href="https://www.npmjs.com/package/@supercharge/json"><img src="https://img.shields.io/npm/dm/@supercharge/json.svg" alt="Monthly downloads"></a>
  </p>
  <p>
    <em>Follow <a href="http://twitter.com/marcuspoehls">@marcuspoehls</a> and <a href="http://twitter.com/superchargejs">@superchargejs</a> for updates!</em>
  </p>
</div>

---

## Introduction
The `@supercharge/json` package is a drop-in replacement for the global `JSON` object. It protects JSON parsing against protoype pollution attacks.


## Installation

```
npm i @supercharge/json
```


## Usage
Using `@supercharge/json` is pretty straightforward. Use it the same way as you would use the `JSON` object:

```js
const JSON = require('@supercharge/json')

const user = JSON.parse('{"name":"Supercharge"}')
// { name: 'Supercharge' }

const user = JSON.parse('{"name":"Supercharge", "__proto__": { "x": 1 }, "constructor": {"prototype": {"bar": "baz"} } }')
// { name: 'Supercharge' }


const json = JSON.stringify({ name: 'Supercharge' })
// '{"name":"Supercharge"}'
```


## Contributing
Do you miss a function? We very much appreciate your contribution! Please send in a pull request 😊

1.  Create a fork
2.  Create your feature branch: `git checkout -b my-feature`
3.  Commit your changes: `git commit -am 'Add some feature'`
4.  Push to the branch: `git push origin my-new-feature`
5.  Submit a pull request 🚀


## License
MIT © [Supercharge](https://superchargejs.com)

---

> [superchargejs.com](https://superchargejs.com) &nbsp;&middot;&nbsp;
> GitHub [@supercharge](https://github.com/supercharge) &nbsp;&middot;&nbsp;
> Twitter [@superchargejs](https://twitter.com/superchargejs)
npm package: @supercharge/macroable
Description: An elegant way to extend the prototype of ES6 classes
Author: Marcus Pöhls
Latest version: 2.0.1

<div align="center">
  <a href="https://superchargejs.com">
    <img width="471" style="max-width:100%;" src="https://superchargejs.com/images/supercharge-text.svg" />
  </a>
  <br/>
  <br/>
  <p>
    <h3>Macroable</h3>
  </p>
  <p>
    ES6 class to easily extend the class prototype.
  </p>
  <br/>
  <p>
    <a href="#installation"><strong>Installation</strong></a> ·
    <a href="#Docs"><strong>Docs</strong></a> ·
    <a href="#usage"><strong>Usage</strong></a>
  </p>
  <br/>
  <br/>
  <p>
    <a href="https://www.npmjs.com/package/@supercharge/macroable"><img src="https://img.shields.io/npm/v/@supercharge/macroable.svg" alt="Latest Version"></a>
    <a href="https://www.npmjs.com/package/@supercharge/macroable"><img src="https://img.shields.io/npm/dm/@supercharge/macroable.svg" alt="Monthly downloads"></a>
  </p>
  <p>
    <em>Follow <a href="http://twitter.com/marcuspoehls">@marcuspoehls</a> and <a href="http://twitter.com/superchargejs">@superchargejs</a> for updates!</em>
  </p>
</div>

---

## Introduction
The `@supercharge/macroable` package provides an ES6 class to easily extend the class prototype. This allows you to add functions to an ES6 class in JavaScript or TypeScript from third party packages.


## Installation

```
npm i @supercharge/macroable
```


## Docs

- 📖 [Documentation](https://superchargejs.com/docs/macroable)


## Contributing
Do you miss a function? We very much appreciate your contribution! Please send in a pull request 😊

1.  Create a fork
2.  Create your feature branch: `git checkout -b my-feature`
3.  Commit your changes: `git commit -am 'Add some feature'`
4.  Push to the branch: `git push origin my-new-feature`
5.  Submit a pull request 🚀


## License
MIT © [Supercharge](https://superchargejs.com)

---

> [superchargejs.com](https://superchargejs.com) &nbsp;&middot;&nbsp;
> GitHub [@supercharge](https://github.com/supercharge) &nbsp;&middot;&nbsp;
> Twitter [@superchargejs](https://twitter.com/superchargejs)
npm package: @supercharge/map
Description: An extended Map class and the one JavaScript should have shipped
Author: Marcus Pöhls
Latest version: 1.5.0

<div align="center">
  <a href="https://superchargejs.com">
    <img width="471" style="max-width:100%;" src="https://superchargejs.com/images/supercharge-text.svg" />
  </a>
  <br/>
  <br/>
  <p>
    <h3>Map</h3>
  </p>
  <p>
    An extended <code>Map</code> and the one JavaScript should have shipped
  </p>
  <br/>
  <p>
    <a href="#installation"><strong>Installation</strong></a> ·
    <a href="#Docs"><strong>Docs</strong></a> ·
    <a href="#usage"><strong>Usage</strong></a>
  </p>
  <br/>
  <br/>
  <p>
    <a href="https://www.npmjs.com/package/@supercharge/map"><img src="https://img.shields.io/npm/v/@supercharge/map.svg" alt="Latest Version"></a>
    <a href="https://www.npmjs.com/package/@supercharge/map"><img src="https://img.shields.io/npm/dm/@supercharge/map.svg" alt="Monthly downloads"></a>
  </p>
  <p>
    <em>Follow <a href="http://twitter.com/marcuspoehls">@marcuspoehls</a> and <a href="http://twitter.com/superchargejs">@superchargejs</a> for updates!</em>
  </p>
</div>

---

## Introduction
The `@supercharge/map` package provides an extended JavaScript `Map` class. It comes with additional methods like `.isEmpty()` or `.map(callback)`.

You already know methods like `.map()` from arrays and having them available on maps improves your development experience and makes your code more readable.


## Installation

```
npm i @supercharge/map
```


## Docs
Find all the [details for `@supercharge/map` in the extensive Supercharge docs](https://superchargejs.com/docs/map).


## Usage
Using `@supercharge/map` is pretty straightforward. Import the `Map` class exported from the `@supercharge/map` package and use it (almost) the same way you would use JavaScript’s `Map` class. This package gives you the parameter order `key, value, map` in callbacks. JavaScript’s Map class gives you `value, key, map`:

```js
const Map = require('@supercharge/map')

const cache = new Map()

cache.isEmpty()
// true

cache
  .set('user:1', 'Marcus')
  .set('user:2', 'Supercharge')

cache.isNotEmpty()
// true

const users = cache.map((key, value, map) => {
  return { [key]: value }
})

// [{ 'user:1': 'Marcus' }, { 'user:2': 'Supercharge' }]

```


## Contributing
Do you miss a function? We very much appreciate your contribution! Please send in a pull request 😊

1.  Create a fork
2.  Create your feature branch: `git checkout -b my-feature`
3.  Commit your changes: `git commit -am 'Add some feature'`
4.  Push to the branch: `git push origin my-new-feature`
5.  Submit a pull request 🚀


## License
MIT © [Supercharge](https://superchargejs.com)

---

> [superchargejs.com](https://superchargejs.com) &nbsp;&middot;&nbsp;
> GitHub [@supercharge](https://github.com/supercharge) &nbsp;&middot;&nbsp;
> Twitter [@superchargejs](https://twitter.com/superchargejs)
npm package: @supercharge/mongodb
Description: An elegant MongoDB ORM for the Supercharge Framework
Author: Marcus Pöhls
Latest version: 0.8.4

<div align="center">
  <a href="https://superchargejs.com">
    <img width="471" style="max-width:100%;" src="https://superchargejs.com/images/supercharge-text.svg" />
  </a>
  <br/>
  <br/>
  <p>
    <h3>MongoDB</h3>
  </p>
  <p>
    An elegant MongoDB ORM for Supercharge
  </p>
  <br/>
  <p>
    <a href="#installation"><strong>Installation</strong></a> ·
    <a href="#Docs"><strong>Docs</strong></a> ·
    <a href="#usage"><strong>Usage</strong></a>
  </p>
  <br/>
  <br/>
  <p>
    <a href="https://www.npmjs.com/package/@supercharge/mongodb"><img src="https://img.shields.io/npm/v/@supercharge/mongodb.svg" alt="Latest Version"></a>
    <a href="https://www.npmjs.com/package/@supercharge/mongodb"><img src="https://img.shields.io/npm/dm/@supercharge/mongodb.svg" alt="Monthly downloads"></a>
  </p>
  <p>
    <em>Follow <a href="http://twitter.com/marcuspoehls">@marcuspoehls</a> and <a href="http://twitter.com/superchargejs">@superchargejs</a> for updates!</em>
  </p>
</div>

---

## Introduction
The `@supercharge/mongodb` package provides an elegant MongoDB ORM for the Supercharge Node.js framework.


## Installation

```
npm i @supercharge/mongodb
```


## Docs

- 📖 [Documentation](https://superchargejs.com/docs/mongodb)


## Compatibility

| Major Release | [Supercharge](https://github.com/supercharge/supercharge) version | MongoDB version | Node.js version |
| ---- | ----- | ------ | ------ |
| `v1` | `2.x` | `5.x` | `>=14` |


## Contributing
Do you miss a function? We very much appreciate your contribution! Please send in a pull request 😊

1.  Create a fork
2.  Create your feature branch: `git checkout -b my-feature`
3.  Commit your changes: `git commit -am 'Add some feature'`
4.  Push to the branch: `git push origin my-new-feature`
5.  Submit a pull request 🚀


## License
MIT © [Supercharge](https://superchargejs.com)

---

> [superchargejs.com](https://superchargejs.com) &nbsp;&middot;&nbsp;
> GitHub [@supercharge](https://github.com/supercharge) &nbsp;&middot;&nbsp;
> Twitter [@superchargejs](https://twitter.com/superchargejs)
npm package: @supercharge/numbers
Description: Extended Number utilities for Node.js and JavaScript
Author: Marcus Pöhls
Latest version: 3.0.0

<div align="center">
  <a href="https://superchargejs.com">
    <img width="471" style="max-width:100%;" src="https://superchargejs.com/images/supercharge-text.svg" />
  </a>
  <br/>
  <br/>
  <p>
    <h3>Numbers</h3>
  </p>
  <p>
    Number utilities for Node.js and JavaScript
  </p>
  <br/>
  <p>
    <a href="#installation"><strong>Installation</strong></a> ·
    <a href="#Docs"><strong>Docs</strong></a> ·
    <a href="#usage"><strong>Usage</strong></a>
  </p>
  <br/>
  <br/>
  <p>
    <a href="https://www.npmjs.com/package/@supercharge/numbers"><img src="https://img.shields.io/npm/v/@supercharge/numbers.svg" alt="Latest Version"></a>
    <a href="https://www.npmjs.com/package/@supercharge/numbers"><img src="https://img.shields.io/npm/dm/@supercharge/numbers.svg" alt="Monthly downloads"></a>
  </p>
  <p>
    <em>Follow <a href="http://twitter.com/marcuspoehls">@marcuspoehls</a> and <a href="http://twitter.com/superchargejs">@superchargejs</a> for updates!</em>
  </p>
</div>

---

## Introduction
The `@supercharge/numbers` package extends JavaScripthttps://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Numbers [`Number`](https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Number) class to provide additional helper methods when working with numbers, like generating a random number in a given range.


## Installation

```
npm i @supercharge/numbers
```


## Docs
Find all the [details for `@supercharge/numbers` in the extensive Supercharge docs](https://superchargejs.com/docs/numbers).


## Usage
Using `@supercharge/numbers` is pretty straightforward. Use the exposed static methods directly from the imported package:

```js
const Num = require('@supercharge/numbers')

Num.randomInt(0, 10)
// 10
// randomInt returns a number from 0 to 10 (inclusive start and end)

Num.randomIntBetween(0, 10)
// 4
// randomIntBetween returns a number from 1 to 9 (exclusive start and end)
```


## Contributing
Do you miss a string function? We very much appreciate your contribution! Please send in a pull request 😊

1.  Create a fork
2.  Create your feature branch: `git checkout -b my-feature`
3.  Commit your changes: `git commit -am 'Add some feature'`
4.  Push to the branch: `git push origin my-new-feature`
5.  Submit a pull request 🚀


## License
MIT © [Supercharge](https://superchargejs.com)

---

> [superchargejs.com](https://superchargejs.com) &nbsp;&middot;&nbsp;
> GitHub [@superchargejs](https://github.com/superchargejs/) &nbsp;&middot;&nbsp;
> Twitter [@superchargejs](https://twitter.com/superchargejs)
npm package: @supercharge/set
Description: An Array-aligned Set class and the one JavaScript should have shipped
Author: Marcus Pöhls
Latest version: 2.2.1

<div align="center">
  <a href="https://superchargejs.com">
    <img width="471" style="max-width:100%;" src="https://superchargejs.com/images/supercharge-text.svg" />
  </a>
  <br/>
  <br/>
  <p>
    <h3>Set</h3>
  </p>
  <p>
    An Array-aligned <code>Set</code> class and the one JavaScript should have shipped
  </p>
  <br/>
  <p>
    <a href="#installation"><strong>Installation</strong></a> ·
    <a href="#resources"><strong>Docs</strong></a> ·
    <a href="#quick-usage-overview"><strong>Usage</strong></a>
  </p>
  <br/>
  <br/>
  <p>
    <a href="https://www.npmjs.com/package/@supercharge/set"><img src="https://img.shields.io/npm/v/@supercharge/set.svg" alt="Latest Version"></a>
    <a href="https://www.npmjs.com/package/@supercharge/set"><img src="https://img.shields.io/npm/dm/@supercharge/set.svg" alt="Monthly downloads"></a>
  </p>
  <p>
    <em>Follow <a href="http://twitter.com/marcuspoehls">@marcuspoehls</a> and <a href="http://twitter.com/superchargejs">@superchargejs</a> for updates!</em>
  </p>
</div>

---

## Introduction
The `@supercharge/set` package provides an improved [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) implementation.

- aligned with the `Array` class instead of `Map`
- provides helpful methods like `.map(callback)`, `.filter(callback)`, `.find(callback)`, `.isEmpty()`, and many more.
- compares values for `deep equality` and not `reference`
- it’s the `Set` class JavaScript should have shipped


## Installation

```
npm i @supercharge/set
```


## Resources

- [Documentation](https://superchargejs.com/docs/set)


## Quick Usage Overview
Using `@supercharge/set` is pretty straightforward. The package exports a `Set` class providing all methods to interact with the set.

```js
const Set = require('@supercharge/set')

const users = new Set()

users.isEmpty() // true

users
  .add({ id: 1, name: 'Marcus' })
  .add({ id: 2, name: 'Norman' })
  .add({ id: 3, name: 'Christian' })

users.isNotEmpty() // true

const usernames = users.map(user => {
  return user.name
})
// [ 'Marcus', 'Norman', 'Christian' ]

const marcus = users.find(user => {
  return user.name === 'Marcus'
})
// { id: 1, name: 'Marcus' }
```


## Contributing
Do you miss a function? We very much appreciate your contribution! Please send in a pull request 😊

1.  Create a fork
2.  Create your feature branch: `git checkout -b my-feature`
3.  Commit your changes: `git commit -am 'Add some feature'`
4.  Push to the branch: `git push origin my-new-feature`
5.  Submit a pull request 🚀


## License
MIT © [Supercharge](https://superchargejs.com)

---

> [superchargejs.com](https://superchargejs.com) &nbsp;&middot;&nbsp;
> GitHub [@supercharge](https://github.com/supercharge) &nbsp;&middot;&nbsp;
> Twitter [@superchargejs](https://twitter.com/superchargejs)
npm package: @supercharge/strings
Description:  String utilities for Node.js and JavaScript
Author: Marcus Pöhls
Latest version: 2.0.0

<div align="center">
  <a href="https://superchargejs.com">
    <img width="471" style="max-width:100%;" src="https://superchargejs.com/images/supercharge-text.svg" />
  </a>
  <br/>
  <br/>
  <p>
    <h3>Strings</h3>
  </p>
  <p>
    String utilities for Node.js.
  </p>
  <br/>
  <p>
    <a href="#installation"><strong>Installation</strong></a> ·
    <a href="#Docs"><strong>Docs</strong></a> ·
    <a href="#usage"><strong>Usage</strong></a>
  </p>
  <br/>
  <br/>
  <p>
    <a href="https://www.npmjs.com/package/@supercharge/strings"><img src="https://img.shields.io/npm/v/@supercharge/strings.svg" alt="Latest Version"></a>
    <a href="https://www.npmjs.com/package/@supercharge/strings"><img src="https://img.shields.io/npm/dm/@supercharge/strings.svg" alt="Monthly downloads"></a>
  </p>
  <p>
    <em>Follow <a href="http://twitter.com/marcuspoehls">@marcuspoehls</a> and <a href="http://twitter.com/superchargejs">@superchargejs</a> for updates!</em>
  </p>
</div>

---

## Introduction
The `@supercharge/strings` package provides chainable string utilities for Node.js and JavaScript. It’s a wrapper around JavaScript’s global `String` class providing a handful of useful methods, like `.title()`, `.strip()`, `.camel()`, and so on.


## Installation

```
npm i @supercharge/strings
```


## Docs
Find all the [details for `@supercharge/strings` in the extensive Supercharge docs](https://superchargejs.com/docs/strings).


## Usage
Using `@supercharge/strings` is pretty straightforward. Pass a string to the imported Function and chain your desired methods to transform to string value to your needs.

For example, you may want to trim a string and then title-case it:

```js
const Str = require('@supercharge/strings')

const title = Str('  Supercharge is sweet!').trim().title().get()

// title: "Supercharge Is Sweet!"
```

For every method in the chain that would return a string, the package returns an instance of iteself. This way, you can chain further methods. Call `.get()` to retrieve the actual JavaScript string.


## Contributing
Do you miss a string function? We very much appreciate your contribution! Please send in a pull request 😊

1.  Create a fork
2.  Create your feature branch: `git checkout -b my-feature`
3.  Commit your changes: `git commit -am 'Add some feature'`
4.  Push to the branch: `git push origin my-new-feature`
5.  Submit a pull request 🚀


## License
MIT © [Supercharge](https://superchargejs.com)

---

> [superchargejs.com](https://superchargejs.com) &nbsp;&middot;&nbsp;
> GitHub [@supercharge](https://github.com/supercharge) &nbsp;&middot;&nbsp;
> Twitter [@superchargejs](https://twitter.com/superchargejs)
npm package: @supercharge/sttp
Description: An HTTP client for a pleasant developer experience.
Author: Marcus Pöhls
Latest version: 1.5.0

<div align="center">
  <a href="https://superchargejs.com">
    <img width="471" style="max-width:100%;" src="https://superchargejs.com/images/supercharge-text.svg" />
  </a>
  <br/>
  <br/>
  <p>
    <h3>Sttp</h3>
  </p>
  <p>
    An Axios wrapper for an enjoyable developer experience.
  </p>
  <br/>
  <p>
    <a href="#installation"><strong>Installation</strong></a> ·
    <a href="#resources"><strong>Resources</strong></a>
  </p>
  <br/>
  <br/>
  <p>
    <a href="https://www.npmjs.com/package/@supercharge/sttp"><img src="https://img.shields.io/npm/v/@supercharge/sttp.svg" alt="Latest Version"></a>
    <a href="https://www.npmjs.com/package/@supercharge/sttp"><img src="https://img.shields.io/npm/dm/@supercharge/sttp.svg" alt="Monthly downloads"></a>
  </p>
  <p>
    <em>Follow <a href="http://twitter.com/marcuspoehls">@marcuspoehls</a> and <a href="http://twitter.com/superchargejs">@superchargejs</a> for updates!</em>
  </p>
</div>

---

## Introduction
`@supercharge/sttp` is an elegant wrapper around the [`axios`](https://github.com/axios/axios) HTTP client. It provides a fluent interface allowing you to create HTTP requests communicating with other web applications.


## Installation

```
npm i @supercharge/sttp
```


## Resources

- 📖 &nbsp; [Documentation](https://superchargejs.com/docs/sttp)


## Contributing
Do you miss a string function? We very much appreciate your contribution! Please send in a pull request 😊

1.  Create a fork
2.  Create your feature branch: `git checkout -b my-feature`
3.  Commit your changes: `git commit -am 'Add some feature'`
4.  Push to the branch: `git push origin my-new-feature`
5.  Submit a pull request 🚀


## License
MIT © [Supercharge](https://superchargejs.com)

---

> [superchargejs.com](https://superchargejs.com) &nbsp;&middot;&nbsp;
> GitHub [@supercharge](https://github.com/supercharge/) &nbsp;&middot;&nbsp;
> Twitter [@superchargejs](https://twitter.com/superchargejs)
npm package: @supercharge/tsconfig
Description: Shareable TypeScript config
Author: Marcus Pöhls
Latest version: 8.0.1

<div align="center">
  <a href="https://superchargejs.com">
    <img width="471" style="max-width:100%;" src="https://superchargejs.com/images/supercharge-text.svg" />
  </a>
  <br/>
  <br/>
  <p>
    <h3>Supercharge shareable TypeScript Config</h3>
  </p>
  <p>
    Shared TypeScript config for Supercharge projects
  </p>
  <br/>
  <p>
    <a href="#installation"><strong>Installation</strong></a> ·
    <a href="#usage"><strong>Usage</strong></a>
  </p>
  <br/>
  <br/>
  <p>
    <a href="https://www.npmjs.com/package/@supercharge/tsconfig"><img src="https://img.shields.io/npm/v/@supercharge/tsconfig.svg" alt="Latest Version"></a>
    <a href="https://www.npmjs.com/package/@supercharge/tsconfig"><img src="https://img.shields.io/npm/dm/@supercharge/tsconfig.svg" alt="Monthly downloads">
  </p>
  <p>
    <em>Follow <a href="http://twitter.com/marcuspoehls">@marcuspoehls</a> and <a href="http://twitter.com/superchargejs">@superchargejs</a> for updates!</em>
  </p>
</div>

---

## Installation

```
npm i -D @supercharge/tsconfig
```


## Targets

| Major Release | Node.js version | Module System |
| ------------- | --------------- | ------------  |
| `8.x`         | `22.x`          | ESM           |
| `7.x`         | `20.x`          | ESM           |
| `6.x`         | `20.x`          | CommonJS      |
| `5.x`         | `18.x`          | CommonJS      |
| `4.x`         | `16.x`          | CommonJS      |
| `3.x`         | `14.x`          | CommonJS      |
| `2.x`         | `12.x`          | CommonJS      |
| `1.x`         | `8.x`           | CommonJS      |


## Usage
Create a `tsconfig.json` file in your project and extends the `@supercharge/tsconfig` [TypeScript config](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html):

### Basic Usage
When installed, configure your `tsconfig.json` like this:

```json
{
  "extends": "@supercharge/tsconfig",
  "compilerOptions": {
    "outDir": "dist"
  }
}
```


### Refined Configuration
You can refine your `tsconfig.json` to your needs. Let’s say you want to target Node.js v16. Change your `compilerOptions` to this:

```json
{
  "extends": "@supercharge/tsconfig",
  "display": "Node.js v16",

  "compilerOptions": {
    "outDir": "dist",
    "target": "ES2021",
    "lib": ["ES2021"]
  }
}
```

Customizing your `compilerOptions` when extending the `@supercharge/tsconfig` package only overrides the listed properties. Every other option defined in the base configuration will be inherited.


## Contributing

1.  Create a fork
2.  Create your feature branch: `git checkout -b my-feature`
3.  Commit your changes: `git commit -am 'Add some feature'`
4.  Push to the branch: `git push origin my-new-feature`
5.  Submit a pull request 🚀


## License
MIT © [Supercharge](https://superchargejs.com)

---

> [superchargejs.com](https://superchargejs.com) &nbsp;&middot;&nbsp;
> GitHub [@supercharge](https://github.com/supercharge) &nbsp;&middot;&nbsp;
> Twitter [@superchargejs](https://twitter.com/superchargejs)
npm package: @supercharts/stimulus-base
Description: A set of base Stimulus controllers for Supercharts
Author: Pascal Laliberté
Latest version: 1.1.3
Deprecated: DEPRECATED: eject files locally; see README https://github.com/supercharts-dev/supercharts-stimulus-base

# DEPRECATED supercharts-stimulus-base

A set of base Stimulus controllers for [Supercharts for Bullet Train](https://github.com/supercharts-dev/supercharts-bullet_train)

## Removing This Dependency, Run it Locally

If you already include the supercharts-bullet_train gem, simply run the following rake task:

    bin/rails supercharts:eject_all

This will eject local copies of this package's source JavaScript files into `javascript/ssupercharts/stimulus-base/*`
npm package: @supercheckout/react-sdk
Description: Buy NFTs with a credit card
Author: Nikhil-Kulkarni
Latest version: 0.0.1

# SuperCheckout

> Made with create-react-library

[![NPM](https://img.shields.io/npm/v/supercheckout.svg)](https://www.npmjs.com/package/supercheckout) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save supercheckout
```

## Usage

```tsx
import React, { Component } from 'react'

import SuperCheckout from 'supercheckout'
import 'supercheckout/dist/index.css'

class Example extends Component {
  render() {
    return <SuperCheckout projectId={'abdc'} show={true} />
  }
}
```

## License

MIT © [Nikhil-Kulkarni](https://github.com/Nikhil-Kulkarni)