Comments (5)
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.
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.
@jcague So if I 'npm install jstack-client' and then require like you said above it should work?
from jstack.
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.
@jcague Yes, that will work. (Can't test today though)
from jstack.
Related Issues (2)
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 jstack.