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

brisky-is-empty

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brisky-is-empty - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

23

package.json
{
"name": "brisky-is-empty",
"version": "1.0.3",
"version": "1.0.4",
"description": "Checks if a [vigour-base](https://www.npmjs.com/package/vigour-base) object is empty",
"main": "lib/index.js",
"scripts": {
"test": "NODE_ENV=test node test | tap-difflet && vtest test | tap-difflet && standard",
"test": "node test | tap-difflet && standard",
"cover": "istanbul cover --report none --print detail test/index.js",
"view-cover": "istanbul report html && open ./coverage/index.html",
"watch": "nodemon test | tap-difflet",
"dev": "nodemon test | tap-difflet",
"travis": "npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)"

@@ -31,9 +31,14 @@ },

],
"dependencies": {},
"engines": {},
"dependencies": {
"bubleify": "0.5.1"
},
"devDependencies": {
"browserify": "^13.1.0",
"bubleify": "^0.5.1",
"istanbul": "^0.4.4",
"standard": "^7.1.2",
"ducktape": "^1.0.1",
"budo": "^9.0.0",
"coveralls": "^2.11.12",
"istanbul": "^0.4.5",
"nodemon": "^1.10.2",
"pre-commit": "^1.1.3",
"standard": "^8.0.0",
"tap-difflet": "0.6.0",
"tape": "^4.6.0",

@@ -40,0 +45,0 @@ "vigour-base": "^3.6.0"

# brisky-is-empty
Checks if a [vigour-base](https://www.npmjs.com/package/vigour-base) object is empty
- **obj** (*object*) - the object to check for emptiness
- **returns** (*boolean*) empty - `true` if `obj` is considered empty, `false` otherwise
<!-- VDOC.badges travis; standard; npm; coveralls -->
<!-- DON'T EDIT THIS SECTION (including comments), INSTEAD RE-RUN `vdoc` TO UPDATE -->
[![Build Status](https://travis-ci.org/vigour-io/brisky-is-empty.svg?branch=master)](https://travis-ci.org/vigour-io/brisky-is-empty)

@@ -10,19 +11,9 @@ [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)

<!-- VDOC END -->
--
<!-- VDOC.jsdoc isEmpty -->
<!-- DON'T EDIT THIS SECTION (including comments), INSTEAD RE-RUN `vdoc` TO UPDATE -->
#### var empty = isEmpty(obj)
Checks if a [vigour-base](https://www.npmjs.com/package/vigour-base) object is empty
- **obj** (*object*) - the object to check for emptiness
- **returns** (*boolean*) empty - `true` if `obj` is considered empty, `false` otherwise
<!-- VDOC END -->
```javascript
var isEmpty = require('brisky-is-empty')
var Base = require('vigour-base')
isEmpty(new Base({})) // true
isEmpty(new Base({ awesome: true })) // false
const isEmpty = require('brisky-is-empty')
const base = require('brisky-base')
isEmpty(base({})) // true
isEmpty(base({ awesome: true })) // false
```

Sorry, the diff of this file is not supported yet

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