🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

usefullness

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

usefullness

This package will help you to filter the things and avoid any kind of spams

1.0.6
latest
Version published
Weekly downloads
1
-75%
Maintainers
1
Weekly downloads
 
Created

#This is built as hobby which might become necessary in near coming future

steps to install

  • npm i usefullness --save
  • import it in your file and start using it

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

function detect takes two arguments both type must be string

argument 1 is key which you want to find

argument 2 is data the in which you want to find the key

function will return true of false based on the existance of key inside data

eg:

const { detect } = require('usefullness')

let res = detect("testkey", "this is testing data, the key will be found, this is example to find testkey);

console.log(res);

result will be

true +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

find me @ github linkedin

FAQs

Package last updated on 29 May 2021

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