# gyromagnetic-ratio

> Reference values for gyromagnetic ratio

Latest version **2.0.0** (published 2025-05-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install gyromagnetic-ratio
pnpm add gyromagnetic-ratio
yarn add gyromagnetic-ratio
bun add gyromagnetic-ratio
```

## Health

**Score 40/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2025-05-02 |
| First published | 2022-05-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 51.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Luc Patiny |
| Maintainers | cheminfo-bot |

## Links

- npm: https://www.npmjs.com/package/gyromagnetic-ratio
- Repository: https://github.com/cheminfo/gyromagnetic-ratio
- Homepage: https://github.com/cheminfo/gyromagnetic-ratio#readme
- Issues: https://github.com/cheminfo/gyromagnetic-ratio/issues
- npm.io page: https://npm.io/package/gyromagnetic-ratio

## Recent versions

- 2.0.0 (latest) — 2025-05-02
- 1.2.1 — 2024-11-20
- 1.2.0 — 2024-04-03
- 1.1.1 — 2023-11-20
- 1.1.0 — 2023-11-20
- 1.0.0 — 2022-05-04

## README

# gyromagnetic-ratio

[![NPM version][npm-image]][npm-url]
[![build status][ci-image]][ci-url]
[![Test coverage][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]

Reference values for gyromagnetic ratio in $rad \over Ts $ extracted from:
- [Konstantin's gyromagnetic ratio table](https://www.kherb.io/docs/nmr_table.html) with is based on:
- [CODATA recommended values of the fundamental physical constants: 2018*](https://doi.org/10.1103/RevModPhys.93.025010).

## Installation

`$ npm i gyromagnetic-ratio`

## Usage

```js
import { gyromagneticRatio } from 'gyromagnetic-ratio';

const proton = gyromagneticRatio['1H'];

console.log(proton);
// 267522188.05267358
```

## License

[MIT](./LICENSE)

[npm-image]: https://img.shields.io/npm/v/gyromagnetic-ratio.svg
[npm-url]: https://www.npmjs.com/package/gyromagnetic-ratio
[ci-image]: https://github.com/cheminfo/gyromagnetic-ratio/workflows/Node.js%20CI/badge.svg?branch=main
[ci-url]: https://github.com/cheminfo/gyromagnetic-ratio/actions?query=workflow%3A%22Node.js+CI%22
[codecov-image]: https://img.shields.io/codecov/c/github/cheminfo/gyromagnetic-ratio.svg
[codecov-url]: https://codecov.io/gh/cheminfo/gyromagnetic-ratio
[download-image]: https://img.shields.io/npm/dm/gyromagnetic-ratio.svg
[download-url]: https://www.npmjs.com/package/gyromagnetic-ratio

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