Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vahan-sahakyan/objlay
A tiny npm package to format-expand-display an object in the browser.
https://github.com/vahan-sahakyan/objlay
ds-algo express-js javascript json-formatter nodejs npm npm-package object-display objlay open-source
Last synced: 3 days ago
JSON representation
A tiny npm package to format-expand-display an object in the browser.
- Host: GitHub
- URL: https://github.com/vahan-sahakyan/objlay
- Owner: vahan-sahakyan
- License: mit
- Created: 2023-01-29T18:19:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-31T19:36:15.000Z (almost 2 years ago)
- Last Synced: 2024-04-24T16:19:21.262Z (7 months ago)
- Topics: ds-algo, express-js, javascript, json-formatter, nodejs, npm, npm-package, object-display, objlay, open-source
- Language: JavaScript
- Homepage:
- Size: 5.33 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @vahan-sahakyan/objlay
[![npm (scoped)](https://img.shields.io/npm/v/@vahan-sahakyan/objlay.svg)](https://www.npmjs.com/package/@vahan-sahakyan/objlay)
[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/@vahan-sahakyan/objlay.svg)](https://www.npmjs.com/package/@vahan-sahakyan/objlay)Displays an object via Express.js in the browser.
## Install
```
$ npm install @vahan-sahakyan/objlay
```## Usage
```js
const objlay = require('@vahan-sahakyan/objlay');const object = {
name: 'Vahan',
job: 'Software Engineer',
};objlay(object, 3000, 4, false);
// OBJECT, PORT, INDENT, GRAY_PRIMITIVES
```## In Action
![](demo.gif)