1.0.10 ā¢ Published 3 years ago
security-json-to-csv v1.0.10
Lib to convert JSON to XLSX and apply password options
š Homepage
āØ Demo
Install
yarn add security-json-to-csv
Usage
import { CalopsitaCsv } from 'security-json-to-csv'
const values = [
{
name: 'teste11',
email: 'teste21',
password: 'teste31'
},
{
name: 'teste12',
email: 'teste22',
password: 'teste32'
}]
const handleClick = async (): Promise<any> => {
const calopsitaCsv = new CalopsitaCsv();
//With Password
await calopsitaCsv.convertJsonToCsv(values, filename, 'password');
//Without Password
await calopsitaCsv.convertJsonToCsv(values, filename);
}
Base64
// With Password
await calopsitaCsv.convertJsonToCsvBase64(values, filename, '123');
// Without Password
await calopsitaCsv.convertJsonToCsvBase64(values, filename);
Password Information
With password the loading will be a little bit longer than without password.
Author
š¤ Fernando Linhares
- Website: https://github.com/Nandolinhares
- Github: @nandolinhares
- LinkedIn: @fernandovianalinhares
š¤ Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.
Show your support
Give a āļø if this project helped you!
This README was generated with ā¤ļø by readme-md-generator