Comparing version 1.0.0 to 1.0.1
@@ -175,5 +175,5 @@ 'use strict' | ||
/** | ||
* Base vardump function | ||
* Base var_dump function | ||
*/ | ||
function vardump () { | ||
function var_dump () { | ||
for (let i = 0; i < arguments.length; i++) { | ||
@@ -184,2 +184,2 @@ console.log(_dump(arguments[i], [], 0)) | ||
module.exports = vardump | ||
module.exports = var_dump |
{ | ||
"name": "var_dump", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Implementation of PHP's var_dump function for JavaScript.", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/smartankur4u/vardump.git" | ||
"url": "git+https://github.com/smartankur4u/var_dump.git" | ||
}, | ||
@@ -19,3 +19,3 @@ "keywords": [ | ||
"js_var_dump", | ||
"var_sump_js", | ||
"var_dump_js", | ||
"dump", | ||
@@ -33,5 +33,5 @@ "variables", | ||
"bugs": { | ||
"url": "https://github.com/smartankur4u/vardump/issues" | ||
"url": "https://github.com/smartankur4u/var_dump/issues" | ||
}, | ||
"homepage": "https://github.com/smartankur4u/vardump#readme" | ||
"homepage": "https://github.com/smartankur4u/var_dump#readme" | ||
} |
@@ -1,2 +0,2 @@ | ||
# vardump | ||
# var_dump | ||
Implementation of PHP's var_dump function for JavaScript. | ||
@@ -6,9 +6,9 @@ | ||
![Version npm](https://img.shields.io/npm/v/@smartankur4u/vardump.svg?style=for-the-badge) | ||
![NPM Downloads](https://img.shields.io/npm/dt/@smartankur4u/vardump.svg?style=for-the-badge) | ||
![License](https://img.shields.io/npm/l/@smartankur4u/vardump.svg?style=for-the-badge) | ||
![GitHub Repository Size](https://img.shields.io/github/repo-size/smartankur4u/vardump.svg?style=for-the-badge) | ||
![Version npm](https://img.shields.io/npm/v/var_dump.svg?style=for-the-badge) | ||
![NPM Downloads](https://img.shields.io/npm/dt/var_dump.svg?style=for-the-badge) | ||
![License](https://img.shields.io/npm/l/var_dump.svg?style=for-the-badge) | ||
![GitHub Repository Size](https://img.shields.io/github/repo-size/smartankur4u/var_dump.svg?style=for-the-badge) | ||
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=for-the-badge)](https://standardjs.com) | ||
[![NPM](https://nodei.co/npm/@smartankur4u/vardump.png?downloads=true&downloadRank=true)](https://nodei.co/npm/@smartankur4u/vardump/) | ||
[![NPM](https://nodei.co/npm/var_dump.png?downloads=true&downloadRank=true)](https://nodei.co/npm/var_dump/) | ||
@@ -21,3 +21,3 @@ | ||
```bash | ||
npm install @smartankur4u/vardump --save-dev | ||
npm install var_dump --save-dev | ||
``` | ||
@@ -29,7 +29,7 @@ | ||
```js | ||
const vardump = require('@smartankur4u/vardump') | ||
const var_dump = require('var_dump') | ||
``` | ||
Use vardump while development for printing details of variables and functions. | ||
Use var_dump while development for printing details of variables and functions. | ||
@@ -53,4 +53,4 @@ ```js | ||
// print the variable using vardump | ||
vardump(variable) | ||
// print the variable using var_dump | ||
var_dump(variable) | ||
``` | ||
@@ -57,0 +57,0 @@ This will print |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
7857