cheminfo-js / spectra-data

Library to deal with spectra (IR, UV, ...), 1D NMR as well as 2D NMR
https://cheminfo-js.github.io/spectra-data
MIT License
4 stars 0 forks source link

Load the version dynamically #33

Closed lpatiny closed 7 years ago

lpatiny commented 7 years ago

require('../../..xxx/package.json').version

https://github.com/cheminfo-js/spectra-data/blob/c3578a2/src/jcampEncoder/JcampCreator.js#L17

jobo322 commented 7 years ago

it was done in cf0fe33 commit