This repository was archived by the owner on May 1, 2024. It is now read-only.
Support examples in package.json #314
-
What if in {
//All the other stuff normally here.
"examples": [
"const express = require('express');\nconst app = express(); \napp.get('/', (req,res) => res.send('Hello express'))"
]
} Then in Runkit from the NPM example page it'd load up with the example script! Maybe another tab in NPM called examples? Tell me what you guys think! |
Beta Was this translation helpful? Give feedback.
Answered by
ljharb
Apr 5, 2021
Replies: 1 comment 1 reply
-
This is already possible with the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Explosion-Scratch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is already possible with the
runkitExample
orrunkitExampleFilename
fields. See the blog post.