Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

best-practices-typescript

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

best-practices-typescript

declapract best practices declarations for typescript

  • 0.15.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-41.67%
Maintainers
1
Weekly downloads
 
Created
Source

best practices typescript

this repo contains a declapract declaration of best practices for typescript projects

usage

  1. add declapract to your repo
npm install --save-dev declapract
  1. add a declapract usage config to your repo
# declapract.use.yml
declarations: npm:best-practices-typescript
useCase: lambda-service # specify which use case your repo is following, see `best-practices-typescript:src/useCases.yml` for options
variables: # specify the values of the variables to use against checks
  organizationName: 'awesome-org'
  serviceName: 'svc-awesome-thing'
  infrastructureNamespaceId: 'abcde12345'
  slackReleaseWebHook: 'https://...'
  1. clone a declared best practices example, do bootstrap a new repo
declapract clone lambda-service-with-rds # bootstrap a new lambda-service-with-rds repo
  1. check that your repo is conforming to best practices
declapract check
  1. fix a specific practice that your repo is failing to conform to (if it has an automatic fix declared)
declapract fix --practice dates-and-times # e.g., apply a fix for the the dates-and-times practice

FAQs

Package last updated on 01 Mar 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc