CookieJS Snippet

This is a snippet for Visual Studio Code and my first attempt. This is also why it is so simple.

The snippet gives the ability to easily generate cookie methods in JavaScript, so you can create good Object Orientated methods for your code without having to hunt down how to implement it.

With this snippet I was able to learn and expand my knowledge in JavaScript. In particular ECMAScript 6 using classes instead of objects and unit testing with QUnit.

This is where you can download the snippet for VS Code > https://marketplace.visualstudio.com/items?itemName=cpateman.cookiejs

You can also see the coding created for the snippet, which was started in ES5 as an object, then progressed to ES6. This is held on my GitHub > https://github.com/PureRandom/CookieJS

From here you can see the results of the Unit test and what kind of tests that were run. > https://purerandom.github.io/CookieJS/CookieJSTest/Tests/CookieClassTest.html

Leave a message please

This site uses Akismet to reduce spam. Learn how your comment data is processed.