security-json-to-xlsx
v1.0.11
Published
<h1 align="center">Welcome to security-json-to-xlsx ๐</h1> <p> <a href="https://www.npmjs.com/package/security-json-to-xlsx" target="_blank"> <img alt="Version" src="https://img.shields.io/npm/v/security-json-to-xlsx.svg"> </a> <a href="https:/
Downloads
63
Maintainers
Readme
Lib to convert JSON to XLSX and apply password options
๐ Homepage
โจ Demo
Install
yarn add security-json-to-xlsx
Usage
import { CalopsitaXlsx } from 'security-json-to-xlsx'
const values = [
{
name: 'teste11',
email: 'teste21',
password: 'teste31'
},
{
name: 'teste12',
email: 'teste22',
password: 'teste32'
}]
const handleClick = async (): Promise<any> => {
const calopsitaCsv = new CalopsitaXlsx()
// With Password
await calopsitaCsv.convertJsonToXlsx(values, 'filename', 'your-password');
// Without Password
await calopsitaCsv.convertJsonToXlsx(values, 'filename');
}
Base64
// With Password
await calopsitaXlsx.convertJsonToXlsxBase64(values, filename, '123');
// Without Password
await calopsitaXlsx.convertJsonToXlsxBase64(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