Latest Node.js topics

All the latest Node.js pages on this site.

Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Here you'll find posts related to Node.js and package managers NPM, Yarn, and PNPM.

  • Published on

    Blog: Validating Azure AD Generated OAuth Tokens

    If you create an application or API that is secured with Azure AD, you are likely going to require a consumer of your application to provide an OAuth access token in order to access your application or API. The caller would have to obtain this token from Azure AD by first authenticating with Azure AD and then request a token for your application. For the rest of this post, I’m going to assume you are working with a REST API, but everything applies to an application as well.
  • Published on

    Blog: Package Manager Inconsistencies with React & tslint + Workarounds after Updating to SPFx 1.7

    The latest version of the SharePoint Framework (SPFx) released a few weeks ago, v1.7.0, uncovered a few issues between how the various Node.js package managers work. These issues appear to be rooted in the package tslint and came about with a change in how Microsoft was using tslint under the covers from SPFx v1.6 to v1.7. A fix has been submitted to tslint, but they appear to be lagging on their release schedule so there’s no ETA on when it will get rolled out.
  • Published on

    Blog: Don't be alarmed by vulnerabilities after running NPM Install

    I’ve seen more and more questions since the folks at NPM added an automatic scan for vulnerabilities after every NPM install. What’s going on? The NPM registry runs a security audit on NPM packages. With the release of NPM v6, this command is run automatically when you execute an npm install on your project. You can manually run one of these audits by executing the command npm audit (ref: npm-audit docs).
  • Published on

    Blog: Better Node.js Install Management with Node Version Manager

    Many if not most traditional SharePoint developers are new to the dev stack and build tool chain Microsoft selected for SharePoint Framework development. This style of development leverages popular open source tools built on Node.js and developers more time in the terminal/console than they are used to. In spending time with and talking to developers making this jump, I’m finding they are interested in some of the tools and things I use.