Socket
Socket
Sign inDemoInstall

snaxey

Package Overview
Dependencies
2
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    snaxey

Welcome To Snaxey ====== ## *What Is **Snaxey?*** Snaxey Is A Basic Easy Facility Package, Allows You To Test Functions **EASILY**


Version published
Maintainers
1
Install size
10.1 kB
Created

Readme

Source

Welcome To Snaxey

What Is Snaxey?

Snaxey Is A Basic Easy Facility Package, Allows You To Test Functions EASILY

First Thing To Do

npm i snaxey
const snaxey = require('snaxey');

What You Can Do With Snaxey

  • Calculator
const snaxey = require('snaxey');

console.log(snaxey.calculator(15,"+",15))
console.log(snaxey.calculator(15,"-",14))
console.log(snaxey.calculator(15,"*",2))
console.log(snaxey.calculator(12,"/",2))
  • JSON
  1. First, Add Something To Your JSON. For Example:
{
	"hello": "hello world"
}
  1. Add This To Your JS File
const snaxey = require('snaxey');

//only the hello world
console.log(snaxey.json("./(yourfile).json", "hello"))

OR

const snaxey = require('snaxey');

//all JSON Things were on the json files
console.log(snaxey.json("./(yourfile).json"))
  • Replace
const snaxey = require('snaxey');

let  Regex = new  RegExp(/man/gi)
let  Str = 'man you\'re HOT man man'

//will replace man -> woman
console.log(snaxey.replace(Str,Regex,"woman"))

FAQs

Last updated on 25 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