snaxey

1.0.0 • Public • Published

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"))

Readme

Keywords

none

Package Sidebar

Install

npm i snaxey

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

2.78 kB

Total Files

5

Last publish

Collaborators

  • skaryey