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

package.json

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

package.json - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

15

package.json
{
"name": "package.json",
"version": "1.0.0",
"version": "1.0.1",
"description": "Get the package.json content either from npm or from a git repository.",

@@ -31,3 +31,14 @@ "main": "lib/index.js",

"package-json": "^2.3.1"
}
},
"files": [
"bin/",
"app/",
"lib/",
"dist/",
"src/",
"resources/",
"menu/",
"cli.js",
"index.js"
]
}

21

README.md

@@ -0,1 +1,2 @@

# package.json [![PayPal](https://img.shields.io/badge/%24-paypal-f39c12.svg)][paypal-donations] [![Version](https://img.shields.io/npm/v/package.json.svg)](https://www.npmjs.com/package/package.json) [![Downloads](https://img.shields.io/npm/dt/package.json.svg)](https://www.npmjs.com/package/package.json) [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/johnnyb?utm_source=github&utm_medium=button&utm_term=johnnyb&utm_campaign=github)

@@ -5,3 +6,3 @@

## Installation
## :cloud: Installation

@@ -12,4 +13,7 @@ ```sh

## Example
## :clipboard: Example
```js

@@ -60,4 +64,5 @@ const packageJson = require("package.json");

## Documentation
## :memo: Documentation
### `packageJson(input, version, callback)`

@@ -71,9 +76,9 @@ Fetches the `package.json` file contents from `npm` or a git repository.

## How to contribute
## :yum: How to contribute
Have an idea? Found a bug? See [how to contribute][contributing].
## Where is this library used?
If you are using this library in one of your projects, add it in this list. :sparkles:
## License
## :scroll: License

@@ -88,2 +93,2 @@ [MIT][license] © [Ionică Bizău][website]

[contributing]: /CONTRIBUTING.md
[docs]: /DOCUMENTATION.md
[docs]: /DOCUMENTATION.md
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