An open API service indexing awesome lists of open source software.

https://github.com/croct-tech/time-js

Additional date-time classes that complement the standard library.
https://github.com/croct-tech/time-js

datetime time

Last synced: 6 months ago
JSON representation

Additional date-time classes that complement the standard library.

Awesome Lists containing this project

README

          



Croct



Time Library


Additional date-time classes that complement the standard library.



Build






📦Releases
·
🐞Report Bug
·
✨Request Feature

## Installation

Use the package manage [NPM](https://getcomposer.org) to install the package:

```sh
npm install @croct/time
```

## Contributing

Contributions to the package are always welcome!

- Report any bugs or issues on the [issue tracker](https://github.com/croct-tech/time-js/issues).
- For major changes, please [open an issue](https://github.com/croct-tech/time-js/issues) first to discuss what you would like to change.
- Please make sure to update tests as appropriate.

## Testing

Before running the test suites, the development dependencies must be installed:

```sh
npm install
```

Then, to run all tests:

```sh
npm run test
```

Run the following command to check the code against the style guide:

```sh
npm run lint
```

## Building

Before building the project, the dependencies must be installed:

```sh
npm run build
```

## Local development

To use a local development version on other projects, you must link the built artifacts with npm:

```sh
npm run build
cd build
ln -s ../package.json package.json || true
npm link
```

Then on any other project that uses the library:

```sh
npm link @croct/time
```

## License

Copyright © 2015-2021 Croct Limited, All Rights Reserved.

All information contained herein is, and remains the property of Croct Limited. The intellectual, design and technical concepts contained herein are proprietary to Croct Limited s and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade secret or copyright law. Dissemination of this information or reproduction of this material is strictly forbidden unless prior written permission is obtained from Croct Limited.