Releases: poppinss/dumper
Releases · poppinss/dumper
Add console formatter
You can use the console formatter as follows.
import { dump } from '@poppinss/dumper/console'
console.log(dump(value))
0.1.0-beta.6 (2024-08-27)
Bug Fixes
- encode dropdown icon (5eb7295)
Features
- add console formatter (4beb62f)
Release 0.1.0-beta.5
Release 0.1.0-beta.4
Release 0.1.0-beta.3
0.1.0-beta.3 (2024-08-23)
Support for new themes, shell, title and source link
0.1.0-beta.2 (2024-08-23)
Bug Fixes
- closing div tag and prefix ids to always start with a letter (0102411)
Features
- add shell, title and source link support in HTML formatter (dafe2d7)
Add helpers for head style and script tags
In order to make the HTML formatter output interactive it requires JavaScript and CSS. You can grab that HTML and CSS from the following helpers and inject it inside the head tag. Ideally, multiple integrations will be required for different frameworks to make this process seamless.
import { createStyleSheet, createScript } from '@poppinss/dumper/html'
<html>
<head>
<style> {{ createStyleSheet }} </style>
<script> {{ createStyleSheet }} </style>
</head>
</html>
0.1.0-beta.1 (2024-08-23)
Features
- add helpers to generate styles and script (bb075b9)