1. 首页
  2. 数据库
  3. 其它
  4. dedent::left_arrow:ES6字符串标签可从多行字符串中去除缩进 源码

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

上传者: 2021-02-07 14:57:40上传 ZIP文件 42.58KB 热度 13次
凹痕 一个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
下载地址
用户评论