Code Monkey home page Code Monkey logo

Comments (5)

jcague avatar jcague commented on September 15, 2024

Yes, I will export JSTACK as a library as well. Thank you for the comment! I hope this issue will be closed by tomorrow at the latest.

from jstack.

jcague avatar jcague commented on September 15, 2024

I have checked that the code to export JSTACK is already there, in file jstack.js

You should be able to use it if you do the require.

var JSTACK = require('jstack');

from jstack.

renier avatar renier commented on September 15, 2024

@jcague So if I 'npm install jstack-client' and then require like you said above it should work?

from jstack.

jcague avatar jcague commented on September 15, 2024

I tried it but it did not work. I reopen the issue.

I have updated the code with the next line in the package.json:

"main": "./lib/jstack.js"

It tells the module to access the jstack.js instead of main.js, which is only used for the CL. I have updated the version in NPM and it should work now, with the next require (the last one was wrong):

var JSTACK = require('jstack-client');

Could you test it?

from jstack.

renier avatar renier commented on September 15, 2024

@jcague Yes, that will work. (Can't test today though)

from jstack.

Related Issues (2)

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.