Socket
Socket
Sign inDemoInstall

usefullness

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

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


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

steps to install

  1. npm i usefullness --save
  2. 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

Keywords

FAQs

Last updated on 29 May 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc