@pansy/indent

每一行紧跟前导空白的插入值为多行时,保持缩进。

Usage no npm install needed!

<script type="module">
  import pansyIndent from 'https://cdn.skypack.dev/@pansy/indent';
</script>

README

@pansy/indent

每一行紧跟前导空白的插入值为多行时,保持缩进

📦 安装

// npm
npm install @pansy/indent --save

// yarn
yarn add @pansy/indent

🔨 使用

import isArray from '@pansy/indent';

indent`hello world`