grex.js:JavaScript绑定到Rust grex库 https 源码
Grex.js 关于 Grex.js是一个将Rust grex库绑定到Node.js和浏览器的库。 原始库: : 。 Grex.js具有内置的TypeScript支持。 安装 通过npm: npm i grex.js 通过纱: yarn add grex.js 通过pnpm: pnpm i grex.js 用法 与本机模块一起使用(默认导出) 通过使用ES6模块语法的命名导入来导入函数: import { buildRegex } from "grex.js" ; 使用ES6模块语法导入grexJS库包装器: import grexJS from "grex.js" ; 使用require函数导入grexJS库包装器: const grexJS = require ( "grex.js" ) ; // not recommended way with Type
下载地址
用户评论