lib/index.js added (it don't compile for me)