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

@travetto/base

Package Overview
Dependencies
Maintainers
1
Versions
357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/base

travetto: Base ===

  • 0.0.68
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
30
decreased by-92.25%
Maintainers
1
Weekly downloads
 
Created
Source

travetto: Base

Base is the foundation of all travetto applications. It's primary goal is to be a minimal bootstrap to get an application up and running.

The specific things it offers are:

  • General App Info - A programmatic interface to package.json
  • Bulk Find Operations
    • A very simple toolset for recursively finding files
    • Uses RegEx in lieu of glob for pattern matching on files
  • Environment - Basic environment information, e.g. in prod/test/dev etc.
  • Shutdown - Event listener interface to run code on shutdown
  • Stacktrace - Integration with trace.js to provide proper asynchronous stack traces
  • Startup - Bootstrapping code for initializing applications
    • Recursively finds all bootstrap.ts files under node_modules/@travetto, and in the root of your project
    • The export format of each initializer is export const init = { priority: 1, // Lower is of more importance action: () => {} // The action to take to initialize the module/project }
  • Util - Simple functions for providing a minimal facisimile to lodash, but without all the weight.
  • Watch - A very simple file watching library, with a substantially smaller footprint than gaze or chokidar.

FAQs

Package last updated on 24 Apr 2018

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