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

license-scraper

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

license-scraper

Scraping license data from NPM, RubyGems, CocoaPods and Github.

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

License Scraper with Multi Plattform Support

A utility that scrapes a packages license name and the url to the package license (usually from github). Supported plattforms:

  • npmjs.com ✅
  • rubygems.org ✅
  • cocoapods.org ✅
  • github.com (helper) ✅

Examples

// NPM (uses github helper)
await LicenseScraper.npmPackage("opensea-scraper");

// Github (helper)
await LicenseScraper.githubRepo("dcts/opensea-scraper");

// RubyGems (uses github helper)
await LicenseScraper.rubyGem("rails");

// CocoaPods (uses github helper)
await LicenseScraper.cocoaPod("FirebaseUI");

Scripts

This repository contains bash scripts that allow you to print all dependencies to the terminal. You can then save all those outputs to a file. Instructions:

  1. navigate to your nodejs projects node_modules folder
  2. run the following code
# directory and filename of the output file
outputFilePath = "/your/path/yourFilename.txt" 

# run and save output to file
pmodules > outputFilePath

Keywords

FAQs

Package last updated on 23 Jun 2022

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