2.2.5 • Published 4 months ago

sbx-utils-lib v2.2.5

Weekly downloads
-
License
ISC
Repository
-
Last release
4 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

5 months ago

2.1.2

8 months ago

2.1.1

8 months ago

2.2.3

5 months ago

2.2.2

5 months ago

2.2.5

4 months ago

2.2.4

5 months ago

2.2.0-query-1

8 months ago

2.0.3

8 months ago

2.0.3-test-2

8 months ago

2.0.3-test-3

8 months ago

2.1.0

8 months ago

2.0.3-test

8 months ago

2.0.2

10 months ago

2.0.1

10 months ago

2.0.0

10 months ago

1.0.8-beta-8

10 months ago

1.0.8-beta-7

10 months ago

1.0.8-beta-6

10 months ago

1.0.8-beta-5

10 months ago

1.0.8-beta-4

10 months ago

1.0.8-beta-3

10 months ago

1.0.8-beta-2

10 months ago

1.0.8-beta-1

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago