Coder Social home page Coder Social logo

Comments (3)

hanazuki avatar hanazuki commented on June 15, 2024

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.

hanazuki avatar hanazuki commented on June 15, 2024

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.

PhML avatar PhML commented on June 15, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.