typed-buffer TypeScript typings for the core buffer library Usage First, add it to your package.json and install it: npm install --save typed-buffer Then use it just as you would the buffer library: import * as buffer from "typed-buffer";