New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

not-empty

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

not-empty

Small validate js lib

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
2
Created
Source

Not empty

Small lib

NPM

NPM version Downloads

Install

npm i -S not-empty

Usage

import notEmpty from 'not-empty';

notEmpty(0, 'string', true, [1, 2, 4]); // true
notEmpty(0, '', true, [1, 2, 4]); // false
notEmpty(0, 'string', true, [], {}); // false
notEmpty(0, 'string', true, [23, 45], { test: true }); // true

FAQs

Package last updated on 22 Oct 2017

Did you know?

Socket

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.

Install

Related posts