scriptable.com

  • Home
  • About

factory function

JavaScript

How to Create a JavaScript Module (NodeJS, Browser)

Module support in JavaScript has gone through major changes over the years. This article covers how to create a JavaScript module that works in both NodeJS and a modern browser. If you need to work with older code, I will provide links at the end of this article for resources. Read more…

By Mitch Allen, 6 monthsDecember 12, 2021 ago

Recent Posts

  • How to Create and Publish a Go Package (Golang)
  • How to Select from a JavaScript Weighted List (NodeJS, Browser)
  • How to Select a JavaScript Random Array Item (NodeJS, Browser)
  • How to Create a JavaScript Weighted Random Function (NodeJS, Browser)
  • How to Create a JavaScript Random Boolean Function (NodeJS, Browser)
  • Instagram
  • YouTube
  • Twitter
Mitch Allen (the owner of this site) is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com