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

gts

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gts

Google TypeScript Style

  • 3.0.3-candidte.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
151K
decreased by-50.2%
Maintainers
2
Weekly downloads
 
Created

What is gts?

The gts (Google TypeScript Style) npm package is a toolkit for setting up and maintaining a consistent TypeScript code style in your projects. It includes configurations for TypeScript, ESLint, and Prettier, and provides scripts for formatting and linting your code.

What are gts's main functionalities?

Setup

Initializes a new TypeScript project with Google TypeScript Style configurations. This command sets up the necessary configuration files and dependencies.

npx gts init

Linting

Runs ESLint with the Google TypeScript Style configurations to check for code style issues and potential errors in your TypeScript code.

npx gts lint

Formatting

Formats your TypeScript code according to the Google TypeScript Style guidelines using Prettier. This command can also fix some linting issues automatically.

npx gts fix

TypeScript Compilation

Compiles your TypeScript code to JavaScript using the TypeScript compiler with the configurations provided by gts.

npx gts build

Other packages similar to gts

Keywords

FAQs

Package last updated on 26 Oct 2020

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