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

@not-js/not

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@not-js/not

NOT!!!!!!!!!!!!!!!

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

Not.js

Returns the negation of a function

Example


var not = require('@not-js/not')
var t = require('true')
var constant = function(v) {
  return function() {
    return v
  }
}


console.log(not(constant)(false)) // true
console.log(not(constant)(true)) // false
console.log(not(t)()) // false 

Installation

npm install @not-js/not

Keywords

10x'ly

FAQs

Package last updated on 17 Jan 2026

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