2.2.5 • Published 6 months ago

sbx-utils-lib v2.2.5

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

Getting Started

First, run the development server:

npm install sbx-utils-lib 
# or
yarn add sbx-utils-lib 

if the extended-types.d.ts file is not copied to the root of your project, you can copy it manually from the node_modules/sbx-utils-lib/lib/extended-types.d.ts to the root of your project.

Example import to init properties

import sbxInit from 'sbx-utils-lib/lib/properties';

//Call here
sbxInit();

const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement);
root.render(
    <React.StrictMode>
        <App />
    </React.StrictMode>
);

Some examples extended types

String.toDate(); // return Date

String.capitalize(); // return string with first letter capitalized
 
Date.toFormattedDate("yyyy-MM-dd"); // return string use date-fns

Array.toMap(String); // return Map<string, any>
 
2.2.1

7 months ago

2.1.2

10 months ago

2.1.1

10 months ago

2.2.3

7 months ago

2.2.2

7 months ago

2.2.5

6 months ago

2.2.4

7 months ago

2.2.0-query-1

10 months ago

2.0.3

10 months ago

2.0.3-test-2

10 months ago

2.0.3-test-3

10 months ago

2.1.0

10 months ago

2.0.3-test

10 months ago

2.0.2

12 months ago

2.0.1

12 months ago

2.0.0

12 months ago

1.0.8-beta-8

12 months ago

1.0.8-beta-7

12 months ago

1.0.8-beta-6

12 months ago

1.0.8-beta-5

12 months ago

1.0.8-beta-4

12 months ago

1.0.8-beta-3

12 months ago

1.0.8-beta-2

12 months ago

1.0.8-beta-1

12 months ago

1.0.7

12 months ago

1.0.6

12 months ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago