Make it npm compatible