Prototyping made easy with new JavaScript Library

Prototyping made easy with new JavaScript LibraryThe JavaScript-based Kakapo.js HTTP mocking library permits smart brains to replicate back-end logic. Thus even though JavaScript is getting mocked, but not in a bad way.Hence, now apps can be developed and prototyped minus the back end, and when moving to production Kakapo can be disabled. Hector Zarco, the main developer of Kakapo said, “It is in use in a couple of applications where code coverage is 97%, even though Kakapo is in Beta stage”.

Kakapo, uses Weak Map, a collection of key/value pairs in JavaScript, with keys weakly referenced.Kakapo is currently in beta, although it’s in use in a couple of applications where code coverage is 97 percent, said Hector Zarco, the main developer of Kakapo.”Without having to set up an HTTP server that returns the fake data you can build reliable and consistent mocks just in the browser using Kakapo.js,” he added. Zarco builds Kakapo because without waiting for the back end, he wanted to have a framework that provides all the necessary tools he needs to prototype web apps Zarco mentioned in a comment.

The ability to build advanced use cases is the key feature of Kakapo along with other features like routing, response, request, and database capabilities. Users can easily retrieve comments, which are added earlier in the app life cycle using Kakapo.

A version of Kakapo is prepared for Apple’s Swift language, and Node.js compatibility is in the work too, even though Kakapo is limited to web development as of now.