This plugin use eval(), custom functions, methods and external libraries to evaluate and replace javascript content
=2+2 //Press Ctrl + Enter
Add equality.vars in your users settings
"equality.vars": {
"name": "Javier Artero",
"company": "MarsBased SL",
"github": "https://github.com/javierartero"
}
Reload window
When you call a =e
you will be calling equality.vars
=e.plugin //Press Ctrol + Enter
Now the plugin has a help system that will appear when it is not able to evaluate the content
You can open all the help elements from the method
=help
You can use the chroma.js
chroma.js is a tiny JavaScript library (14kB) for dealing with colors!
- read colors from a wide range of formats
- analyze and manipulate colors
- convert colors into wide range of formats
- linear and bezier interpolation in different color spaces
You can use the lodash.js
Lodash makes JavaScript easier by taking the hassle out of working with arrays, numbers, objects, strings, etc. Lodash’s modular methods are great for:
- Iterating arrays, objects, & strings
- Manipulating & testing values
- Creating composite functions
faker.js is an external library generate massive amounts of fake
=faker.name.findName() //Press Ctrol + Enter
Default arguments min:number = 0, max:number = 100
=rand(-100,100)
This method allows the use of shorthand '# ff0'