https://github.com/tetherto/pearpass-lib-constants
https://github.com/tetherto/pearpass-lib-constants
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tetherto/pearpass-lib-constants
- Owner: tetherto
- License: apache-2.0
- Created: 2025-12-09T19:14:45.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-12-22T15:07:30.000Z (6 months ago)
- Last Synced: 2025-12-24T02:32:47.140Z (6 months ago)
- Language: JavaScript
- Size: 44.9 KB
- Stars: 0
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Notice: NOTICE
Awesome Lists containing this project
README
# 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:
```bash
npm install pearpass-lib-constants
```
or
```bash
yarn add pearpass-lib-constants
```
## Testing
This project uses ESLint for linting. To run the linter, execute the following command:
```bash
npm run lint
```
## Usage Examples
Here is an example of how to import and use a constant from this library:
```javascript
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
- [pearpass-app-mobile](https://github.com/tetherto/pearpass-app-mobile) - A mobile app for PearPass, a password manager
- [pearpass-app-browser-extension](https://github.com/tetherto/pearpass-app-browser-extension) - A browser extension for PearPass, a password manager
- [pearpass-app-desktop](https://github.com/tetherto/pearpass-app-desktop) - A desktop app for PearPass, a password manager
## License
This project is licensed under the Apache License, Version 2.0. See the [LICENSE](./LICENSE) file for details.