README
@pansy/indent
每一行紧跟前导空白的插入值为多行时,保持缩进
📦 安装
// npm
npm install @pansy/indent --save
// yarn
yarn add @pansy/indent
🔨 使用
import isArray from '@pansy/indent';
indent`hello world`
每一行紧跟前导空白的插入值为多行时,保持缩进。
<script type="module">
import pansyIndent from 'https://cdn.skypack.dev/@pansy/indent';
</script>
每一行紧跟前导空白的插入值为多行时,保持缩进
// npm
npm install @pansy/indent --save
// yarn
yarn add @pansy/indent
import isArray from '@pansy/indent';
indent`hello world`