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

@87f-/essentials

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@87f-/essentials

Essentials I will use for basically any node project or package I make.

unpublished
latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Essentials

const esntls = require('@87f-/essentials')

returnTrue

A better version of the true library, except without the cli command. It is better because it follows the single responsibility principle better by using the true-value library.

const t = require('@87f-/essentials').returnTrue

const TRUE = t()

if (TRUE === true) {
  console.log('hello world') // console: "hello world"
}

returnFalse

A better version of the false library, except without the cli command. It is better because it follows the single responsibility principle better by using the false-value library.

const f = require('@87f-/essentials').returnFalse

const FALSE = f()

if (f() === false) {
  console.log('hello world') // console: "hello world"
}

tru

The "tru" library.

const tru = require('@87f-/essentials').tru
const t = require('@87f-/essentials').returnTrue

const TRUE = t()

tru(TRUE)
  .then(() => {
    console.log('True!!!!') // console: "True!!!!"
  })
  .end();

w2

The "while2" library.


const w2 = require('@87f-/essentials').w2
const t = require('@87f-/essentials').returnTrue

const TRUE = t()

new w2(TRUE)
  .do(() => {
    console.log('hi') // prints hi over and over again forever
  })
  .end()

tytytty

Keywords

essentails

FAQs

Package last updated on 04 Jun 2024

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