@real-system/utils
TypeScript icon, indicating that this package has built-in type declarations

0.0.11 • Public • Published

@real-system/utils

Real System's series of javascript and typescript helpers.

npm version minified size

Usage

# install peer dependencies

# npm
$ npm install react react-dom
# yarn
$ yarn add react react-dom

# install utils

# npm
$ npm install @real-system/utils
# yarn
$ yarn add @real-system/utils

Code Example

import { ValueOf } from '@real-system/utils';

const obj = {
  keyOne: 'one',
  keyTwo: 'two,
}
type Values = ValueOf<typeof obj>;
// output: type Values = 'one' | 'two';

Package Sidebar

Install

npm i @real-system/utils

Weekly Downloads

2

Version

0.0.11

License

MIT

Unpacked Size

127 kB

Total Files

30

Last publish

Collaborators

  • bigwoof91