npm-pomelo pomelo typescript definition Usage npm install npm-pomelo --save add follow lines in your ts file import pomelo = require('./node_modules/npm-pomelo/lib/pomelo'); then you can use pomelo.