Enhance Blaze Templates with TemplateController Package & Create REST API Mocks with superagent-mocker for Browsers


Summary of my bookmarked Github repositories from Apr 9th, 2016

Github repositories

  • meteor-space/template-controller

    TemplateController is a package that provides a thin layer of syntactic sugar on top of the standard Blaze API, making it easier to follow best practices for writing Blaze templates. It allows you to define templates using a more concise and readable syntax, supporting features like props validation, private template state, lifecycle callbacks, helpers, events, and more. The package enhances the readability and maintainability of Blaze templates while aligning with the recommended practices outlined in the Blaze guide. It is compatible with Meteor 1.2.x to 1.3.x versions and can be installed via the Meteor package manager.

  • A/superagent-mocker

    superagent-mocker is a REST API mocker specifically designed for browsers, allowing you to create mock responses without the need for a backend server. It is built for the superagent library. You can install it easily and set up custom timeouts for requests. It supports GET, POST, DELETE, PUT, and PATCH methods, allowing you to set headers and manipulate request bodies. Additionally, you can clear individual routes or all route handlers. If needed, you can also rollback the effects of the library on the superagent library. The superagent-mocker is licensed under the MIT license.