teko-js-sale-library

1.2.0 • Public • Published

js-sale-library

Set of tools and utilities written in javascript, focusing on sale major. Mostly contains logic and independent of platform (react, react-native, node)

Init it with an abstract Platform before using, this allows the library to access platform's specific API (FileSystem, DeviceInfo...). For example:

// in a react-native project
import JsSaleLib from '@teko/js-sale-library';
import RnSaleLib from '@teko/react-native-sale-library';

JsSaleLib.init(RnSaleLib.Platform);

// in a react project
import JsSaleLib from '@teko/js-sale-library';
import RSaleLib from '@teko/react-sale-library';

JsSaleLib.init(RSaleLib.Platform);

Readme

Keywords

none

Package Sidebar

Install

npm i teko-js-sale-library

Weekly Downloads

31

Version

1.2.0

License

none

Unpacked Size

118 kB

Total Files

49

Last publish

Collaborators

  • thanh.bm