0.3.1 • Published 8 months ago

@thaitype/utils v0.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@thaitype/utils

Opinionated TypeScript Utility Libraries @thaitype

CI

Installation

npm i @thaitype/utils

Philosophy

npm packages is a hugh community, somethime, we don't know the npm package for our solution. We don't want to duplicate implementation of utility, if you found the alternative npm packages, please feel free to open issues, or PR ;).

Related Utils Library

  • just A library of dependency-free JavaScript utilities that do just one thing.
  • lodash

Examples

import { createSymbolRecord } from '@thaitype/utils';

export const Tokens = createSymbolRecord('HealthAlertOption', 'SlackOption');

// Equal to 
export const Tokens = {
  HealthAlertOption: Symbol.for('HealthAlertOption'),
  SlackOption: Symbol.for('SlackOption'),
}
0.3.1

8 months ago

0.3.0

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago