utils/index.html
ztimson cb117273a7
All checks were successful
Build / Build NPM Project (push) Successful in 39s
Build / Tag Version (push) Successful in 8s
Build / Publish Documentation (push) Successful in 36s
Fixed path-event filter
2024-12-27 22:20:27 -05:00

17 lines
379 B
HTML

<!Doctype html>
<html>
<head>
<title>@ztimson/utils sandbox</title>
</head>
<body>
<script type="module">
import {PES, PathEvent} from './dist/index.mjs';
const perm = PES`storage/test/john-flag.png:r`;
const perms = [ 'logs/Momentum:c', 'storage/test:r', 'data/Repos:r', 'email:c' ];
console.log(PathEvent.filter(perms, perm));
</script>
</body>
</html>