From 1e52f151e4151c363c8e9179b6c62032490427e2 Mon Sep 17 00:00:00 2001 From: SrIzan10 <66965250+SrIzan10@users.noreply.github.com> Date: Sat, 11 Nov 2023 19:50:09 +0100 Subject: [PATCH] feat: readme and randomstring example --- README.md | 11 +++++++++++ examples/randomstring.ts | 4 ++++ 2 files changed, 15 insertions(+) create mode 100644 README.md create mode 100644 examples/randomstring.ts diff --git a/README.md b/README.md new file mode 100644 index 0000000..744a197 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# util-utils + +`util-utils` means "Ăștil" (useful in spanish) + utils (utilities). + +This package is a zero-dependency everyday utility library for lazy Javascript developers. + +# Features + +Will be worked on progressively, but for now: + +- [randomstring](https://github.com/SrIzan10/util-utils/tree/main/examples/randomstring.ts) \ No newline at end of file diff --git a/examples/randomstring.ts b/examples/randomstring.ts new file mode 100644 index 0000000..cbba693 --- /dev/null +++ b/examples/randomstring.ts @@ -0,0 +1,4 @@ +import { randomString } from "../src/index.ts"; + +console.log(randomString(10)); +// => (random 10-character string) \ No newline at end of file