pts
pts copied to clipboard
Pts.version
Any chance you could make a Pts.version() method or Pts.version property
Thanks for your feedback. It's a good point. I added a version string in the js file's header. ( https://github.com/williamngan/pts/blob/master/dist/pts.min.js )
Would that help, or do you have a specific use case where you need to access version number programmatically?
I do like to access the version number programmatically. Presently I am making Machine Learning Tutorials using specific version numbers so that my tutorials always work, but I like to monitor the version number as in near the top of this page
By the way, I have been looking for a graphing program to go along with Machine Learning. Trying Vega-Lite, three.js and D3.js but Pts.js might be the best fit.
Got it. I did a quick test with webpack DefinePlugin but cannot get it to work inside typescript. Let's keep this open and will take a look later on.
Thanks for giving Pts.js a try! 😃