Comments (3)
The short answer is "You can't." This library is an Addon for Node.js and not executable by standard web browsers as the part of a React application.
For that purpose, you can try https://www.npmjs.com/package/jsonnet and some of its forks. They include an Emscripten-compiled version of libjsonnet, and so I believe they are executable by browsers (If wrong, sorry!).
You can also consult the source code of the official Jsonnet documentation, which includes a demo that you can try on browsers.
from node-jsonnet.
I'm closing this issue, but if you have any other questions about the usage of the library, please feel free to ask here.
from node-jsonnet.
Sorry for late response.
I didn't realized it was a server side library.
About node-jsonnet and its forks, they are a little bit outdated and/or without all functionalities and/or Typscript support. So I’ll need to do my own fork.
Thank you.
from node-jsonnet.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-jsonnet.