deindent:用于去缩进的 ES6 模板字符串助手

时间:2021-06-02 05:54:59
【文件属性】:
文件名称:deindent:用于去缩进的 ES6 模板字符串助手
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-02 05:54:59
JavaScript 牙医 用于去缩进的 ES6 模板字符串助手(改编自 )。 var deindent = require ( 'deindent' ) // as a string function deindent ( ` this is the ${ "end" } my only friend the end ` ) ; // as a template tag deindent ` this is the ${ "end" } my only friend the end ` ; // as a higher-order template tag deindent ( String . raw ) ` this is the ${ "end" } my only
【文件预览】:
deindent-master
----index.js(753B)
----package.json(735B)
----test()
--------test.js(947B)
----LICENSE(1KB)
----.gitignore(587B)
----README.md(636B)

网友评论