Socket
Socket
Sign inDemoInstall

@compassdigital/helper

Package Overview
Dependencies
10
Maintainers
35
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @compassdigital/helper

This package serves as a single source of truth for a wide spectrum of typed and tested helper functions, designed for usage across the entire CDL backend system. Helpers are organized into modules per entity, in the src directory. This package is written


Version published
Maintainers
35
Created

Readme

Source

CDL Helper Package

This package serves as a single source of truth for a wide spectrum of typed and tested helper functions, designed for usage across the entire CDL backend system. Helpers are organized into modules per entity, in the src directory. This package is written in typescript. It can be used in tests, request handlers, services, scripts, etc. The inspiration for this package is that CDL test suites contain a lot of duplication of identical logic, and many of those duplicated test-helpers are not tested, or typed. This package addresses that issue by housing that logic in one place. Please add helpers here ad-hoc while developing/testing features in any package.

scripts:

  • npm run test:debug

    this is the main script to use while developing, will run tsc and then run tests in debug watch mode

  • npm run debug

    use if required to step into any code while developing outside of test environment, such as examining variables in src/index.ts to see how they are exporting, etc.

FAQs

Last updated on 27 Oct 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc