String.raw:符合ES规范的String.raw shimpolyfillreplacement可以向下运行到ES3

时间:2021-04-30 01:07:08
【文件属性】:
文件名称:String.raw:符合ES规范的String.raw shimpolyfillreplacement可以向下运行到ES3
文件大小:15KB
文件格式:ZIP
更新时间:2021-04-30 01:07:08
JavaScript String.raw 符合ESnext规范的String.raw填充程序/ polyfill / replacement可以使用到ES3。 该软件包实现了接口。 它可以在ES3支持的环境中工作并符合。 入门 npm install --save string.raw 用法/示例 // Create Windows path without escaping the backslashes: const filePath = String . raw `C:\Development\profile\new\aboutme.html` ; console . log ( ` ${ filePath } ` ) ; // "C:\Development\profile\new\aboutme.html" 测验 只需克隆仓库, npm install ,然后运行npm test
【文件预览】:
String.raw-main
----.gitignore(2KB)
----implementation.mjs(143B)
----.eslintrc(351B)
----package.json(2KB)
----.npmrc(55B)
----auto.js(36B)
----LICENSE(1KB)
----index.js(390B)
----CHANGELOG.md(3KB)
----.github()
--------FUNDING.yml(597B)
--------workflows()
----index.mjs(316B)
----README.md(2KB)
----polyfill.mjs(119B)
----implementation.js(945B)
----shim.js(299B)
----shim.mjs(103B)
----.npmignore(2KB)
----polyfill.js(385B)
----test()
--------index.js(176B)
--------shimmed.js(767B)
--------index.mjs(748B)
--------tests.js(827B)

网友评论