question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request : generate without FS

See original GitHub issue

Hi, do you know is its possible to use @kosko/generate without CLI, like… in a browser ?

Something like generate(components, env); that could “dump” all the manifests

thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tommy351commented, Jan 29, 2021

I am doing some experiments right now. It is easy to replace fs with memfs. But the content from memfs can’t be loaded with require directly. Have to find a way to load scripts in non-Node environments.

BTW, the viewer looks awesome! 👍

1reaction
tommy351commented, Jan 25, 2021

It’s not possible currently. To do that we need to set a fake fs for fast-glob and a require polyfill for @kosko/require.

Read more comments on GitHub >

github_iconTop Results From Across the Web

feature requests - GitHub
feature request. Issues that request new features to be added to Node.js. fs. Issues and PRs related to the fs subsystem / file...
Read more >
Feature Request: Hot (834 ideas) - Adobe Bridge Feedback
Enter your idea and we'll search to see if someone has already suggested it. If a similar idea already exists, you can support...
Read more >
make default feature parameters for numbers work — Onshape
Feature Request : make default feature parameters for numbers work · 275 · import · "onshape/std/geometry.fs" · "275.0" · annotation · "Feature Type ......
Read more >
Ask HN: How to say no to a GitHub issue feature request?
Feeling very upset about a feature request. The main reason is, the requester behaves like I am hired to customise the software for...
Read more >
How to Submit a Feature Request - Kemp Support
No one knows our products better than you, our users. ... create a support ticket. The Kemp Ideas Portal is for feature requests...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found