【文件属性】:
文件名称:包装:用于Randkid材料的CSV预处理器
文件大小:3KB
文件格式:ZIP
更新时间:2021-02-15 19:42:49
TypeScript
裹
用于Randkid材料的CSV预处理器
使用(Deno)
将CSV转换为JS
转换
import { weightedList } from "https://raw.githubusercontent.com/randkid/Wrap/master/mod.ts"
await weightedList . convert ( "data.csv" , "data.js" )
deno run --allow-read --allow-write convert.ts
从JS生成“材料”
模式
import { weightedList } from "https://raw.githubusercontent.com/randkid/Wrap/master/mod.ts"
import data from "./data.js"
export default weightedL
【文件预览】:
Wrap-master
----mod.ts(34B)
----read.ts(303B)
----deps.ts(93B)
----structure()
--------mod.ts(71B)
--------weightedList.ts(2KB)
----process.ts(447B)
----Structure.ts(601B)
----README.md(771B)