Socket
Socket
Sign inDemoInstall

@fullview/mongo-client

Package Overview
Dependencies
161
Maintainers
7
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @fullview/mongo-client

This is a boilerplate module for a project that uses TypeScript as its main language. To use this boilerplate, clone, delete `.git` folder and begin your own. Maybe delete a few other extra files as necessary.


Version published
Maintainers
7
Created

Readme

Source

typescript-module-boilerplate

This is a boilerplate module for a project that uses TypeScript as its main language. To use this boilerplate, clone, delete .git folder and begin your own. Maybe delete a few other extra files as necessary.

Stack Description

  • TypeScript
  • Jest
  • Prettier
  • ESLint

Usage

$ git clone https://github.com/alexgorbatchev/typescript-module-boilerplate.git
$ cd typescript-module-boilerplate
$ rm -fr .git
$ yarn
$ yarn test

Features

  • Linting via ESLint.
    • Run manually via yarn lint.
    • Integrates with Visual Studio Code via vscode-eslint.
      • Highlights type & linting issues.
      • Provides debuging options for running Jest tests (once and in watch mode).
    • Uses AirBNB ESLint plugin as sane defaults.
    • import ... from ... statements are verified for correctness via eslint-plugin-import.
  • Formatting via Prettier.
    • Run manually via yarn format.
    • Integrates well with Visual Studio Code via prettier-vscode.
      • Automatically formats on save.

Script Commands

  • yarn test -- Runs tests.
  • yarn typecheck -- Checks TypeScript types for correctness. This is disabled during tests for performance reasons.
  • yarn lint -- Runs linting.
  • yarn format -- Reformats all of the .ts and .tsx files with Prettier.
  • yarn build -- Regenerates dist folder that gets included into NPM module.

License

MIT

FAQs

Last updated on 13 Sep 2022

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