Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ejsexcel

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ejsexcel

Intelligent report system, nodejs node export excel, ejsExcel

  • 3.4.9
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
427
decreased by-35.69%
Maintainers
1
Weekly downloads
 
Created
Source

nodejs excel template engine. node export excel, ejsExcel

npm install ejsexcel

执行 test/test.bat  进行测试
test/test.xlsx 为完整示例 demo
<%forRow		循环一行
<%#			输出动态公式
<%~			输出数字类型格式
<%=			输出字符串
<%forCell		循环单元格
<%forRBegin		循环多行
<%forCBegin		循环多个单元格
<%_hideSheet_()%>	隐藏所在工作表
<%_showSheet_()%>	显示所在工作表
<%_deleteSheet_()%>	删除所在工作表

<% %>内部可执行 任意 javascript, 注意是 **任意**

可以用 <%console.log(_data_)%> 打印临时变量到控制台,进行调试

_data_ 为内置对象, 数据源
auto: Sail  
QQ: 151263555  
QQ群: 470988427  
email: 151263555@qq.com 

模板:

模板

加数据渲染之后,导出结果:

导出结果

捐赠鼓励支持此项目:

捐赠鼓励支持此项目

项目贡献人列表:

  • @Hello World~    50元
  • @德爾文    50元

Keywords

FAQs

Package last updated on 21 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc