# @qiskit/utils

> Quantum Information Science Kit utils library

Latest version **0.9.0** (published 2019-05-13) · Apache-2.0 license · 0 weekly downloads

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

## Install

```sh
npm install @qiskit/utils
pnpm add @qiskit/utils
yarn add @qiskit/utils
bun add @qiskit/utils
```

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.9.0 |
| Published | 2019-05-13 |
| First published | 2017-11-28 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 3 |
| Unpacked size | 15.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 115 |
| Author | IBM RESEARCH |
| Maintainers | abdonrd, atilag, jelcaf, jesusprubio, qiskit-team |
| Keywords | quantum, experience, computing, information, utils, helpers, qiskit, IBM |

## Links

- npm: https://www.npmjs.com/package/@qiskit/utils
- Repository: https://github.com/Qiskit/qiskit-js
- Issues: https://github.com/Qiskit/qiskit-js/issues
- npm.io page: https://npm.io/package/@qiskit/utils

## Dependencies (3)

- [debug](https://npm.io/package/debug.md) ^4.1.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.11
- [all-your-base](https://npm.io/package/all-your-base.md) ^0.3.0

## Recent versions

- 0.9.0 (latest) — 2019-05-13
- 0.8.0 — 2019-04-25
- 0.7.0 — 2019-04-12
- 0.6.3 — 2019-04-12
- 0.6.2 — 2019-03-13
- 0.6.1 — 2019-03-11
- 0.6.0 — 2019-03-11
- 0.5.0 — 2018-10-20
- 0.4.0 — 2018-08-02
- 0.3.0 — 2018-06-07
- 0.2.0 — 2018-05-24
- 0.1.9 — 2018-04-27
- 0.1.7 — 2018-04-24
- 0.1.6 — 2018-04-24
- 0.1.5 — 2018-02-20
- … 2 more at https://npm.io/package/@qiskit/utils/versions

## README

# Qiskit.js utils

:atom_symbol: Quantum Information Science Kit utils library, shared among the rest of the qiskit-\* packages.

Please visit the [main repository](https://github.com/Qiskit/qiskit-js) of the project to know about the rest of the tools.

## Install

:coffee: Install lastest [Node.js](https://nodejs.org/download) stable version (or LTS) and then:

```sh
npm i @qiskit/utils
```

## Use

:pencil: You can visit the complete example [in this test](./test/functional.js).

```js
const utils = require('@qiskit/utils');

console.log('Version');
console.log(utils.version);
```

## API

:eyes: Full specification.

### `version`

The actual version of the library.

* `version` (string) - Version number.

### `debug`

Our debugger. A wrapper for [debug](https://github.com/visionmedia/debug).

* `debug` (object) - The same object provided in the original library.

### `pathToTag(fullPath) -> tag`

To get a consistent tag among all the project debugging. So we use with the `debug` method.

* `fullPath` (string) - The full path of the file we're debugging.
* `tag` (string) - The name of the file.

### `ayb`

A wrapper for [ayb](https://github.com/nerddiffer/all-your-base).

* `ayb` (object) - The same object provided in the original library.

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