# iso-util

> Node.JS util module

Latest version **0.11.3** (published 2020-09-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install iso-util
pnpm add iso-util
yarn add iso-util
bun add iso-util
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.11.3 |
| Published | 2020-09-21 |
| First published | 2020-09-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 23.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 0 |
| Author | Joyent |
| Maintainers | isysd |
| Keywords | util |

## Links

- npm: https://www.npmjs.com/package/iso-util
- Repository: https://github.com/isysd-mirror/iso-util
- Homepage: https://github.com/isysd-mirror/iso-util/
- Issues: https://github.com/isysd-mirror/iso-util/issues
- npm.io page: https://npm.io/package/iso-util

## Dependencies (5)

- [esm](https://npm.io/package/esm.md) ../esm
- [iso-buffer](https://npm.io/package/iso-buffer.md) ../iso-buffer
- [iso-process](https://npm.io/package/iso-process.md) ../iso-process
- [iso-inherits](https://npm.io/package/iso-inherits.md) ../iso-inherits
- [always-global](https://npm.io/package/always-global.md) ../always-global

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 0.11.3 (latest) — 2020-09-21
- 0.11.2 — 2020-09-21

## README

# util [![Build Status](https://travis-ci.org/defunctzombie/node-util.png?branch=master)](https://travis-ci.org/defunctzombie/node-util)

> Node.js's [util][util] module for all engines.

This implements the Node.js [`util`][util] module for environments that do not have it, like browsers.

## Install

### git

```shell
git clone https://iramiller.com/src/js/util/.git util
```

### npm

```shell
npm install @guld/util
```

## Usage

```javascript
import util from '../util/util.js')
import EventEmitter from '../events/events.js')

function MyClass() { EventEmitter.call(this) }
util.inherits(MyClass, EventEmitter)
```

## Browser Support

The `util` module uses ES6 features. Load it like any module with a static import `import 'util.js'`.

## API

See the [Node.js util docs][util].  `util` currently supports the Node 8 LTS API. However, some of the methods are outdated. The `inspect` and `format` methods included in this module are a lot more simple and barebones than the ones in Node.js.

## Contributing

PRs are very welcome! The main way to contribute to `util` is by porting features, bugfixes and tests from Node.js. Ideally, code contributions to this module are copy-pasted from Node.js and transpiled to ES5, rather than reimplemented from scratch. Matching the Node.js code as closely as possible makes maintenance simpler when new changes land in Node.js.
This module intends to provide exactly the same API as Node.js, so features that are not available in the core `util` module will not be accepted. Feature requests should instead be directed at [nodejs/node](https://github.com/nodejs/node) and will be added to this module once they are implemented in Node.js.

If there is a difference in behaviour between Node.js's `util` module and this module, please open an issue!

## License

[MIT](./LICENSE)

[util]: https://nodejs.org/docs/latest-v8.x/api/util.html

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