Tag Archives: NodeJS

Dusting Things Off

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.

Advertisements

Using NPM Scripts for Client-Side Module Installation

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

Easier module imports with Requiredir

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

luhn – simple credit card validation for JavaScript and Node.js

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 luhn – simple credit card validation for JavaScript and Node.js

DateValidator – Simple Validation for Node.js

While I’m passionate about user experience, I also spend a lot of time working on various development projects as well.  Recently, I’ve focused most of my efforts behind Node.js and have enjoyed it thoroughly.  The amount of passion and adoption I see around the language astounds me since the language was created just back in 2009.  Though, since Node is written on top of JavaScript, it feels like a much more mature language.  Sadly though, JavaScript isn’t perfect and is missing a lot of common features that other languages have.  Thankfully, the Node community has helped in these shortcomings though the use of NPM, Node’s package management system.

Continue reading DateValidator – Simple Validation for Node.js