
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
@types/rollup-plugin-json
Advanced tools
npm install --save @types/rollup-plugin-json
This package contains type definitions for rollup-plugin-json (https://github.com/rollup/rollup-plugin-json#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-json.
// Type definitions for rollup-plugin-json 3.0
// Project: https://github.com/rollup/rollup-plugin-json#readme
// Definitions by: Andy Mockler <https://github.com/asmockler>
// Martin Hochel <https://github.com/hotell>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="node" />
import { Plugin } from "rollup";
declare namespace json {
interface Options {
/**
* All JSON files will be parsed by default, but you can also specifically include/exclude files
*/
include?: string | string[] | undefined;
exclude?: string | string[] | undefined;
/**
* for tree-shaking, properties will be declared as variables, using either `var` or `const`
* @default false
*/
preferConst?: boolean | undefined;
/**
* specify indentation for the generated default export — defaults to '\t'
* @default '\t'
*/
indent?: string | undefined;
}
}
declare function json(options?: json.Options): Plugin;
export = json;
These definitions were written by Andy Mockler, and Martin Hochel.
FAQs
TypeScript definitions for rollup-plugin-json
The npm package @types/rollup-plugin-json receives a total of 5,983 weekly downloads. As such, @types/rollup-plugin-json popularity was classified as popular.
We found that @types/rollup-plugin-json demonstrated a not healthy version release cadence and project activity because the last version was released 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
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.