dedent::left_arrow:ES6字符串标签,可从多行字符串中去除缩进

时间:2021-02-04 18:54:35
【文件属性】:
文件名称:dedent::left_arrow:ES6字符串标签,可从多行字符串中去除缩进
文件大小:43KB
文件格式:ZIP
更新时间:2021-02-04 18:54:35
javascript es6 es2015 dedent template-string 凹痕 一个ES6字符串标签,用于从多行字符串中去除缩进。 用法 import dedent from "dedent" ; function usageExample ( ) { const first = dedent `A string that gets so long you need to break it over multiple lines. Luckily dedent is here to keep it readable without lots of spaces endin
【文件预览】:
dedent-master
----dedent.js(1KB)
----.eslintrc(266B)
----.flowconfig(50B)
----yarn.lock(114KB)
----.babelrc(117B)
----flow-typed()
--------npm()
----LICENSE(1KB)
----__tests__()
--------dedent-tests.js(2KB)
--------.eslintrc(36B)
--------__snapshots__()
--------dedent-macro-test.js(1KB)
----README.md(1KB)
----dist()
--------dedent.js(1KB)
----.gitignore(13B)
----package.json(1KB)
----macro.js(1KB)

网友评论