Skip to content

noxtton/pearpass-lib-constants

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pearpass-lib-constants

Shared constants for the Pearpass repositories.

Features

This library provides a centralized collection of constants used across the Pearpass ecosystem.

Installation

To install the package, you can use npm or yarn:

npm install pearpass-lib-constants

or

yarn add pearpass-lib-constants

Testing

This project uses ESLint for linting. To run the linter, execute the following command:

npm run lint

Usage Examples

Here is an example of how to import and use a constant from this library:

import { MS_PER_DAY } from 'pearpass-lib-constants';

function isOlderThanADay(timestamp) {
  return Date.now() - timestamp > MS_PER_DAY;
}

Dependencies

This library has no production dependencies.

Dev Dependencies

  • tether-dev-docs

Related Projects

License

This project is licensed under the Apache License, Version 2.0. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%