Many developers use Chrome's Dev Tools as a playground for testing out data and JavaScript features. Script Kit enables you to launch Chrome Dev Tools instantly by simply using the dev
method. Any data you pass into dev
will show up in the console so you can inspect and play with the data in any way that you want.
// Name: Dev Tools Demo
import "@johnlindquist/kit"
let response = await get(
`https://api.github.com/users/johnlindquist/repos`
)
dev(response.data)