wsf-lib

代码库

Usage no npm install needed!

<script type="module">
  import wsfLib from 'https://cdn.skypack.dev/wsf-lib';
</script>

README

import {isNull,getParamsFromUrl} from "wsf-lib";

isNull(str):判断str是否为空,即 "",null,undefined

getParamsFromUrl(url):从url中获取参数,如果不传参,就获取当前的url地址