# ipfs-core-utils

> Package to share code between ipfs and ipfs-http-client

Latest version **0.18.1** (published 2023-05-25) · Apache-2.0 OR MIT license · 0 weekly downloads

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

## Install

```sh
npm install ipfs-core-utils
pnpm add ipfs-core-utils
yarn add ipfs-core-utils
bun add ipfs-core-utils
```

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.18.1 |
| Published | 2023-05-25 |
| First published | 2020-03-20 |
| Weekly downloads | 0 |
| License | Apache-2.0 OR MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | >=16.0.0 |
| Dependencies | 20 |
| Unpacked size | 70.4 KB |
| Known vulnerabilities | 0 (+5 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 7391 |
| Author | Alex Potsides |
| Maintainers | achingbrain, hugomrdias, ipfs-npm-publisher-bot, npm-service-account-ipfs |

## Links

- npm: https://www.npmjs.com/package/ipfs-core-utils
- Repository: https://github.com/ipfs/js-ipfs
- Homepage: https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs-core-utils#readme
- Issues: https://github.com/ipfs/js-ipfs/issues
- npm.io page: https://npm.io/package/ipfs-core-utils

## Dependencies (20)

- [it-all](https://npm.io/package/it-all.md) ^2.0.0
- [it-map](https://npm.io/package/it-map.md) ^2.0.0
- [nanoid](https://npm.io/package/nanoid.md) ^4.0.0
- [err-code](https://npm.io/package/err-code.md) ^3.0.1
- [any-signal](https://npm.io/package/any-signal.md) ^3.0.0
- [blob-to-it](https://npm.io/package/blob-to-it.md) ^2.0.0
- [ipfs-utils](https://npm.io/package/ipfs-utils.md) ^9.0.13
- [ipfs-unixfs](https://npm.io/package/ipfs-unixfs.md) ^9.0.0
- [it-peekable](https://npm.io/package/it-peekable.md) ^2.0.0
- [uint8arrays](https://npm.io/package/uint8arrays.md) ^4.0.2
- [it-to-stream](https://npm.io/package/it-to-stream.md) ^1.0.0
- [multiformats](https://npm.io/package/multiformats.md) ^11.0.0
- [merge-options](https://npm.io/package/merge-options.md) ^3.0.4
- [@libp2p/logger](https://npm.io/package/@libp2p/logger.md) ^2.0.5
- [parse-duration](https://npm.io/package/parse-duration.md) ^1.0.0
- [ipfs-core-types](https://npm.io/package/ipfs-core-types.md) ^0.14.1
- [@multiformats/multiaddr](https://npm.io/package/@multiformats/multiaddr.md) ^11.1.5
- [timeout-abort-controller](https://npm.io/package/timeout-abort-controller.md) ^3.0.0
- [browser-readablestream-to-it](https://npm.io/package/browser-readablestream-to-it.md) ^2.0.0
- [@multiformats/multiaddr-to-uri](https://npm.io/package/@multiformats/multiaddr-to-uri.md) ^9.0.1

## Recent versions

- 0.18.1 (latest) — 2023-05-25
- 0.18.0-7b79c1b8 (next) — 2023-05-25
- 0.18.0-6d95ce08 — 2023-05-25
- 0.18.0-4694e806 — 2023-05-25
- 0.18.0-e64813f6 — 2023-05-24
- 0.18.0-b64d4af0 — 2023-02-01
- 0.18.0-3bcabe38 — 2023-01-17
- 0.18.0-ab02e8f8 — 2023-01-17
- 0.18.0-6eeb1be5 — 2023-01-13
- 0.18.0 — 2023-01-12
- 0.17.0-d1c3abb3 — 2023-01-11
- 0.17.0-fa578bac — 2023-01-11
- 0.17.0-789ee585 — 2023-01-11
- 0.17.0-4b4c124c — 2023-01-11
- 0.17.0-5f73ecad — 2023-01-10
- … 284 more at https://npm.io/package/ipfs-core-utils/versions

## README

> # ⛔️ DEPRECATED: [js-IPFS](https://github.com/ipfs/js-ipfs) has been superseded by [Helia](https://github.com/ipfs/helia)
>
> 📚 [Learn more about this deprecation](https://github.com/ipfs/js-ipfs/issues/4336) or [how to migrate](https://github.com/ipfs/helia/wiki/Migrating-from-js-IPFS)
>
> ⚠️ If you continue using this repo, please note that security fixes will not be provided

# ipfs-core-utils <!-- omit in toc -->

[![ipfs.tech](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](https://ipfs.tech)
[![Discuss](https://img.shields.io/discourse/https/discuss.ipfs.tech/posts.svg?style=flat-square)](https://discuss.ipfs.tech)
[![codecov](https://img.shields.io/codecov/c/github/ipfs/js-ipfs.svg?style=flat-square)](https://codecov.io/gh/ipfs/js-ipfs)
[![CI](https://img.shields.io/github/actions/workflow/status/ipfs/js-ipfs/test.yml?branch=master\&style=flat-square)](https://github.com/ipfs/js-ipfs/actions/workflows/test.yml?query=branch%3Amaster)

> Package to share code between ipfs and ipfs-http-client

## Table of contents <!-- omit in toc -->

- [Install](#install)
  - [Browser `<script>` tag](#browser-script-tag)
- [License](#license)
- [Contribute](#contribute)

## Install

```console
$ npm i ipfs-core-utils
```

### Browser `<script>` tag

Loading this module through a script tag will make it's exports available as `IpfsCoreUtils` in the global namespace.

```html
<script src="https://unpkg.com/ipfs-core-utils/dist/index.min.js"></script>
```

## License

Licensed under either of

- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)

## Contribute

Contributions welcome! Please check out [the issues](https://github.com/ipfs/js-ipfs/issues).

Also see our [contributing document](https://github.com/ipfs/community/blob/master/CONTRIBUTING_JS.md) for more information on how we work, and about contributing in general.

Please be aware that all interactions related to this repo are subject to the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/CONTRIBUTING.md)

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