.NET Library Ported to TypeScript