@wigxel/utils
v1.0.10
Published
Utilities for coding by wigxel
Downloads
28
Readme
utils
A collection of functions that makes building components a breeze.
Setup
npm install --save @wigxel/utils
To enable logging do well to set the NODE_ENV variable to development. For example
#.env
NODE_ENV=development
OR
{
"scripts": {
"dev": "NODE_ENV=development npm run start",
"start": "...."
}
}
Transformers
Object to FormData
const formData = makeFormData({
firstname: 'John',
lastname: 'Philip',
email: "john.philip",
avatar: File,
})