@knowtrace/constants

0.1.1 • Public • Published

Know Trace Constants 🥠💬

Constant values for the Know Trace service

Know Trace is a private identification and telemetry service

⚠️ Heads Up!

As a consumer you should not need to install this package directly. It is a dependency of other Know Trace packages.

📋 Usage

npm install @knowtrace/constants

📖 Reference

TODO: Reference should be a complete list of everything in the package

import { TRACE } from "@knowtrace/constants";
  • TRACE.EXPRESS.ROOT - default root for Express routes
  • TRACE.EXPRESS.PATH.INIT - init route path
  • TRACE.EXPRESS.PATH.CHECK - check route path
  • TRACE.JWT.BROWSER_KEY - browser key for JWT (literally b)
  • TRACE.JWT.SESSION_KEY - session key for JWT (literally s)
  • TRACE.JWT.EXPIRES_IN.FOUR_HOURS - JWT expiration time of 4 hours (4h)
  • TRACE.JWT.EXPIRES_IN.ONE_HOUR - JWT expiration time of 1 hour (1h)
  • TRACE.KNOWN.BROWSER - UUID of a "known" browser for testing
  • TRACE.KNOWN.SESSION - UUID of a "known" session for testing
  • TRACE.KNOWN.SECRET - test signing key. NOT (not) for production use. Not for development use. Only (ONLY) for automated testing
  • TRACE.LIB.__TEMPLATE__ - placeholders-compatible template for library names
  • TRACE.LIB.CONSTANTS - name of the constants package
  • TRACE.LIB.EXPRESS - name of the Express package
  • TRACE.LIB.VUE - name of the Vue package
  • TRACE.SERVICE - service tag (knowtrace)

📝 Changelog

Date Version Summary
7/14/2024 0.1.0 Initial deploy
7/14/2024 0.0.1 Initial commit

📜 License

Published by Finlayson Studio. All rights reserved

Readme

Keywords

none

Package Sidebar

Install

npm i @knowtrace/constants

Weekly Downloads

0

Version

0.1.1

License

none

Unpacked Size

5.67 kB

Total Files

8

Last publish

Collaborators

  • finlaysonstudio