{"id":25554637,"url":"https://github.com/raoul1996/egg-xlsx","last_synced_at":"2025-07-05T03:10:15.790Z","repository":{"id":29883008,"uuid":"123069082","full_name":"Raoul1996/egg-xlsx","owner":"Raoul1996","description":"read the excel file content plugin for egg framework, based on js-xlsx","archived":false,"fork":false,"pushed_at":"2022-05-19T22:39:08.000Z","size":261,"stargazers_count":10,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-16T02:06:06.126Z","etag":null,"topics":["egg","egg-plugin","excelreader","js-xlsx","npm-package"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Raoul1996.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-27T03:46:08.000Z","updated_at":"2020-08-08T15:06:47.000Z","dependencies_parsed_at":"2022-07-27T23:48:27.605Z","dependency_job_id":null,"html_url":"https://github.com/Raoul1996/egg-xlsx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Raoul1996/egg-xlsx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raoul1996%2Fegg-xlsx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raoul1996%2Fegg-xlsx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raoul1996%2Fegg-xlsx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raoul1996%2Fegg-xlsx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Raoul1996","download_url":"https://codeload.github.com/Raoul1996/egg-xlsx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raoul1996%2Fegg-xlsx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263674489,"owners_count":23494584,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["egg","egg-plugin","excelreader","js-xlsx","npm-package"],"created_at":"2025-02-20T13:41:34.092Z","updated_at":"2025-07-05T03:10:15.730Z","avatar_url":"https://github.com/Raoul1996.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# egg-xlsx\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/egg-xlsx.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/egg-xlsx\n[travis-image]: https://img.shields.io/travis/eggjs/egg-xlsx.svg?style=flat-square\n[travis-url]: https://travis-ci.org/eggjs/egg-xlsx\n[codecov-image]: https://img.shields.io/codecov/c/github/eggjs/egg-xlsx.svg?style=flat-square\n[codecov-url]: https://codecov.io/github/eggjs/egg-xlsx?branch=master\n[david-image]: https://img.shields.io/david/eggjs/egg-xlsx.svg?style=flat-square\n[david-url]: https://david-dm.org/eggjs/egg-xlsx\n[snyk-image]: https://snyk.io/test/npm/egg-xlsx/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/egg-xlsx\n[download-image]: https://img.shields.io/npm/dm/egg-xlsx.svg?style=flat-square\n[download-url]: https://npmjs.org/package/egg-xlsx\n\n\u003e read the excel file content plugin for egg framework, based on [js-xlsx](https://github.com/SheetJS/js-xlsx)\n\n## Install\n\n```bash\n$ npm i egg-xlsx --save\n```\n\n## Usage\n\n```js\n// {app_root}/config/plugin.js\nexports.xlsx = {\n  enable: true,\n  package: 'egg-xlsx',\n};\n```\n\n## Configuration\n\n```js\n// {app_root}/config/config.default.js\nexports.xlsx = {\n};\n```\n\nsee [config/config.default.js](config/config.default.js) for more detail.\n\n## Example\n\n### Upload the xlsx file and get the content\n\n```js\n// {app_root}/app/controller/xlsx.js\nconst Contrller = require('egg').Controller\n\nclass XlsxController extends Contrller {\n  async index() {\n    const {ctx, app} = this\n    const res = await app.xlsx.analysis(ctx)\n    ctx.body = res\n  }\n}\nmodule.exports = XlsxController\n```\n### More function\n\u003c!-- example here --\u003e\n\n## Questions \u0026 Suggestions\n\nPlease open an issue [here](https://github.com/eggjs/egg/issues).\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraoul1996%2Fegg-xlsx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraoul1996%2Fegg-xlsx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraoul1996%2Fegg-xlsx/lists"}