security-json-to-xlsx
TypeScript icon, indicating that this package has built-in type declarations

1.0.11Β β€’Β PublicΒ β€’Β Published

Welcome to security-json-to-xlsx πŸ‘‹

Version Documentation License: MIT

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

🀝 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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.11
    12
    • latest

Version History

Package Sidebar

Install

npm i security-json-to-xlsx

Weekly Downloads

12

Version

1.0.11

License

MIT

Unpacked Size

5.28 MB

Total Files

10

Last publish

Collaborators

  • fernandolinhares