It’s been a long while since I last blogged on the site. A lot has happened in my life and my career changed in order to focus more on the human side of technology. However, those aren’t excuses for the absence I have had from this blog. If I ever had an excuse was simply writer’s block as nothing has inspired me to write. But that’s changing. Old habits are returning and that means more blog posts and more content.
To start – my 4 main / current NPM packages have been updated in order to get them up to speed with Node v0.12 as well as to make them compatible with Browserify. I may add Bower support later but right now, it is what it is. Along with these changes, I updated the interface making a couple of them 2.0 releases. You can find more information about the packages at the links below.
luhn – https://www.npmjs.com/package/luhn
requiredir – https://www.npmjs.com/package/requiredir
datevalidator – https://www.npmjs.com/package/datevalidator
abavalidator – https://www.npmjs.com/package/abavalidator
In addition to updating those packages, I’m also resurrecting some old Node.js projects that I had worked on over the last 2 years and begin to add them to Github. Lastly, you can expect more Node.js and iOS development posts on here with a sprinkling of UX. I believe in the importance of transparency in learning and I can practice my development skills a lot easier than my User Experience skills.
More to come soon.
One of the largest things that I have loved about working in Node.js is the ability to create utilities that work on both the server and within the browsers. Being able to create packages for NPM and then reuse them in both environments has lead to a lot of shared and unified code. However, the general experience involving installing a package and moving it to the client left a lot to be desired. Thankfully, NPM offers a possible solution through it’s use of scripts.
Continue reading Using NPM Scripts for Client-Side Module Installation
The more that I use Node.js, the more I enjoy it; however, there I have seen an issue in a couple of projects. In these projects, some modules import in a large number of other modules that reside in single directory. While it could be argued that the code could be refactored differently, scenarios exist where you may need to import in a number of modules that all exist in the same directory.
Continue reading Easier module imports with Requiredir
If you’ve worked on websites for any amount of time, there is a decent chance that you’ve encountered the need to validate credit card numbers at some point. While there are a lot of compliance and security guidelines for working with credit card numbers, these don’t reduce the need for ensuring the user entered a valid credit card number into the form. Some places will validate just length and ensure only numeric digits were provided; however, did you know there’s an algorithm that most credit cards are based on?
Continue reading ABAValidator – Routing Number validation for Node.js
Continue reading DateValidator – Simple Validation for Node.js