STATIC-TYPE
static-type is a library for make a static variable
Installation
npm i static-type
Usage
const {Static,S} = require("static-type")
//to make new static variable
//Static($varibleName,$Data,$typeData)
Static("name","jhon","string")
Static("count",12,"number")
Static("status",true,"boolean")
//acces the variable has been created
let data = S.name.v
console.log(data)// jhon
//to change value
Static("name","jhonson")
data = S.name.v
console.log(data)// jhonson
//to get error you can use errLog
const {errLog} = require("static-type")
console.log(errLog)//print all error