Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

text-automation

shisen_feng6ISC1.0.1

html转译 富文本单个空格 删除空格

text-automation, html-antomation, text-translation

readme

安装

npm install text-automation

导入

const text-automation  = require('text-automation')

富文本空格

//调用line_方法   处理富文本多个空格 (默认一个空格)

var  str = text-automation.line_(参数)

字符串空格 删除中文空格

// 删除所有空格   中文

var str = text-automation.delete_line(参数)

html 转译

//html_   处理html转译

var  str = text-automation.html_(参数)