/aidly

A small utility function in pure js runtime.

Primary LanguageTypeScriptMIT LicenseMIT

aidly

NPM version

A small utility function in pure js runtime, capable of effective tree-shaking.

Debugging platform

https://imtaotao.github.io/aidly/

API

View type declaration file retrieval api.

https://unpkg.com/browse/aidly/dist/index.d.ts

Demo

import { clone } from 'aidly';

console.log(clone(/a/ig)); // `/a/gi`

CDN

<!DOCTYPE html>
<html lang="en">
<body>
  <script src="https://unpkg.com/aidly/dist/aidly.umd.js"></script>
  <script>
    const { clone } = window.Aidly;
    
    console.log(clone(/a/ig)); // `/a/gi`
  </script>
</body>
</html>