The directory to scan for relevant files
The instance of IUrlFetcher to fetch URLs
Create a SoftwarePackage instance from a Node.js package meta-data object
Meta-data for a packages dependencies is obtained from https://registry.npmjs.org/ using the JSON API documented at https://github.com/npm/registry/blob/master/docs/responses/package-metadata.md and https://github.com/npm/registry/blob/master/docs/REGISTRY-API.md. Currently we fetch the abbreviated metadata because the full meta data can be very large.
The column "NodeJS" in https://github.com/codemeta/codemeta/blob/master/crosswalk.csv
is used to translate package meta-data into a SoftwarePackage instance.
Package object
Does a path exist within the project folder?
The path within the folder
Fetch content from a URL
The URL to fetch
Request options
Get a list of paths that match a pattern in the project folder.
The glob pattern
Parse a folder to detect any package.json or *.js source code files
and return a SoftwarePackage instance
Read a file within the project folder
The path within the folder
Write to a file within the project folder
The path within the folder
The content to write to the file
Generated using TypeDoc
Dockta
Parserclass for Node.js.