Still trying to make this an npm module