@vyron/utils
v0.1.6
Published
JavaScript utils
Downloads
2
Readme
@vyron/utils
JavaScript utility functions.
Install
With npm
# npm
npm install @vyron/utils
# yarn
yarn add @vyron/utils
# pnpm
pnpm install @vyron/utils
With CDN
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<script src="https://cdn.jsdelivr.net/npm/@vyron/[email protected]/dist/utils.global.js"></script>
<title>utils</title>
</head>
<body>
<script>
const { head, isArray } = utils
const data = [1, 2, 3]
console.log(head(data))
console.log(isArray(data))
</script>
</body>
</html>