Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@types/npm-license-crawler
Advanced tools
Readme
npm install --save @types/npm-license-crawler
This package contains type definitions for npm-license-crawler (https://github.com/mwittig/npm-license-crawler).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/npm-license-crawler.
export interface License {
licenses: string;
licenseUrl: string;
parents: string;
repository: string;
}
export interface Licenses {
[repository: string]: License;
}
export interface CrawlerOptions {
/** export the data as comma-separated values to the given file. The path will be created if it does not exist. */
csv?: string | undefined;
/** show only third-party licenses, i.e., only list the dependencies defined in package.json. */
dependencies?: boolean | undefined;
/** show only development dependencies */
development?: boolean | undefined;
/** path to a directory to be excluded (and its subdirectories) from the search. */
exclude?: string | string[] | undefined;
/** export data as JSON to the given file. The path will be created if it does not exist. */
json?: string | undefined;
/** omit version numbers in result (e.g. "npm-license-crawler@0.1.5" becomes "npm-license-crawler") */
omitVersion?: boolean | undefined;
/** show only direct dependencies licenses, i.e., don't list dependencies of dependencies. */
onlyDirectDependencies?: boolean | undefined;
/** show only production dependencies */
production?: boolean | undefined;
/** output the relative file path for license files. */
relativeLicensePath?: boolean | undefined;
/** path to the directory the license search should start from. If omitted the current working directory is assumed. */
start: string | string[];
/** show only licenses that can't be determined or have been guessed. */
unknown?: boolean | undefined;
/** don't show colors in the console output */
noColor?: boolean | undefined;
}
export type Callback = (error: Error | null, licenses: Licenses) => void;
export function dumpLicenses(args: CrawlerOptions, callback: Callback): void;
These definitions were written by Florian Keller.
FAQs
TypeScript definitions for npm-license-crawler
The npm package @types/npm-license-crawler receives a total of 748 weekly downloads. As such, @types/npm-license-crawler popularity was classified as not popular.
We found that @types/npm-license-crawler demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.