癌症台湾癌症资料专案 资料来源:卫生福利部 用法 需要实时脚本。 npm install request xlsjs LiveScript ./node_modules/.bin/lsc main.ls 原始数据将保存在 raw/ 中,在不同的文件夹中以年份分隔。 还会为每个 xls 文件生成一个转换后的 csv 文件。 每个城镇的总数也被格式化为根目录下一个名为“total.json”的json文件。 执照 MIT 许可证(用于源代码)
2021-07-12 14:04:41 20.14MB LiveScript
1
有一个非常漂亮的班级系统。 可惜我们不能在 JS-land 中使用它。 或者我们可以。 埃斯蒂拉 const Base = require ( 'estira' ) ; var Foo = Base . extend ( { initialize : function ( bar ) { this . bar = bar ; } , frob : function ( baz ) { return this . bar + baz ; } } ) ; var foo = new Foo ( "hello " ) ; foo . frob ( "world" ) ; //⇒ "hello world" 应用程序接口 Base = require('estira') 具有继承所需的最低限度的基类。 扩展它,它本身并没有做太多事情。 Subclass =
2021-07-09 15:04:06 6KB JavaScript
1