install
- support umd and ejs
npm install -S mycm-utils
const mycmUtils = require('mycm-utils');
or
import * as mycmUtils from "mycm-utils";
console.log(utils.cutHtml(str))
<script src="/path/mycm-utils.js">
var utils=mycmUtils;
console.log(utils.cutHtml(str))