New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

backpat

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backpat

A simple tool for high-fiving your tech stack

  • 0.7.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by200%
Maintainers
2
Weekly downloads
 
Created
Source

Backpat

Build Status Coverage Status

Backpat is a simple tool for use in automating the production of tech stack notes in projects. Think along the lines of About pages with links for crediting community contributions to your codebase. (Looking at you, student developers.)

Install it as such:

$ npm install --save backpat

Require it like so:

const backpat = require('backpat').backpat;

As of v0.6.0: Invoke it thusly:

backpat().then('do stuff with it here');

And it will parse your project's package.json, identifying all production and developer dependencies and fetching the particulars of each. What you'll get back is a promise that will eventually resolve into an object like this:

{ eslint:
   { version: '3.8.1',
     name: 'eslint',
     url: 'https://github.com/eslint/eslint.git',
     description: 'An AST-based pattern checker for JavaScript.',
     downloads: 4038383 },
  mocha:
   { version: '3.1.2',
     name: 'mocha',
     url: 'https://github.com/mochajs/mocha.git',
     description: 'simple, flexible, fun test framework',
     downloads: 4001598 }}

Simple as that. The npm download count attribute makes ranking and filtering the results a snap.

That's it. Feel free to submit an issue or PR.

FAQs

Package last updated on 14 May 2017

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