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

backpat

Package Overview
Dependencies
Maintainers
1
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.3.0
  • Source
  • npm
  • Socket score

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

Backpat

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');

Invoke it thusly:

backpat(callback);

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 an object like this, if considerably more robust.

{ 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 filtering the results a snap.

Worth noting: the whole shebang is async – so don't worry if you've got kitchen- sink-grade dependencies.

This is a nascent module that is bound to require some TLC. If you encounter any rough edges, please don't hesitate to drop me a line. Oh, and feel free to submit at PR. There's still much to be done.

Unit tests are next on the list.

FAQs

Package last updated on 30 Oct 2016

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