Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)