An open API service indexing awesome lists of open source software.

https://github.com/dcts/license-scraper

Utility to scrape license data (name and url) from NPM, RubyGems, CocoaPods and Github.
https://github.com/dcts/license-scraper

Last synced: 2 months ago
JSON representation

Utility to scrape license data (name and url) from NPM, RubyGems, CocoaPods and Github.

Awesome Lists containing this project

README

          

# 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
```js
// 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 (WIP)
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
```bash
# directory and filename of the output file
outputFilePath = "/your/path/yourFilename.txt"

# run and save output to file
pmodules > outputFilePath
```