2.2.5 • Published 7 months ago

sbx-utils-lib v2.2.5

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

8 months ago

2.1.2

11 months ago

2.1.1

11 months ago

2.2.3

8 months ago

2.2.2

8 months ago

2.2.5

7 months ago

2.2.4

8 months ago

2.2.0-query-1

10 months ago

2.0.3

11 months ago

2.0.3-test-2

11 months ago

2.0.3-test-3

11 months ago

2.1.0

11 months ago

2.0.3-test

11 months ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.8-beta-8

1 year ago

1.0.8-beta-7

1 year ago

1.0.8-beta-6

1 year ago

1.0.8-beta-5

1 year ago

1.0.8-beta-4

1 year ago

1.0.8-beta-3

1 year ago

1.0.8-beta-2

1 year ago

1.0.8-beta-1

1 year ago

1.0.7

1 year ago

1.0.6

1 year 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