diff options
| author | Priyansh <[email protected]> | 2022-01-18 21:25:34 -0500 |
|---|---|---|
| committer | Priyansh <[email protected]> | 2022-01-18 21:25:34 -0500 |
| commit | e43088ab05bdad73e014fe7ba0911a3459ba1977 (patch) | |
| tree | 136d986b6bcee89204618e4638cca620849bd323 | |
| parent | 14e3ff569238320f589f42a394f4be739f52f528 (diff) | |
| download | izuku.js-e43088ab05bdad73e014fe7ba0911a3459ba1977.tar.xz izuku.js-e43088ab05bdad73e014fe7ba0911a3459ba1977.zip | |
docs: add basic readme
| -rw-r--r-- | README.md | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..4c6cb56 --- /dev/null +++ b/README.md @@ -0,0 +1,46 @@ +# Izuku + +Izuku is a simple, fast, and powerful tabular data representation and manipulation library written in [TypeScript](https://www.typescriptlang.org/). It is designed to be used to view, manipulate and debug 2D data in NodeJS applications. + +The core of Izuku is a `frame` class that represents a 2D array of data. It is designed to be used as a data structure for tabular data. + +## Using Izuku + +```js +import Izuku from 'izuku'; +const data = [ + [1, 2, 3], + [4, 5, 6], + [7, 8, 9], +]; +const columns = ['a', 'b', 'c']; +const frame = new Izuku(data, columns); +console.log(frame.frame()); +// [ +// [1, 2, 3], +// [4, 5, 6], +// [7, 8, 9], +// ] + +console.log(frame.columns()); +// ['a', 'b', 'c'] +``` + +## Cloing and Building this Repository + +Clone the repository: + +```bash +git clone https://github.com/luciferreeves/izuku.js.git +``` + +Run the build script: +```bash +cd izuku.js && npm install && npm run build +``` + +Run tests: +```bash +cd izuku.js && npm test +``` + |
