Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Philipp Partosch 46a936d7de added all files to project 2 years ago
..
js.js added all files to project 2 years ago
json.js added all files to project 2 years ago
license added all files to project 2 years ago
package.json added all files to project 2 years ago
readme.md added all files to project 2 years ago

readme.md

default-require-extensions Build Status

Node’s default require extensions as a separate module

Handy for require extension authors that want reliable access to the default extension implementations.

By the time your extension is loaded, the default extension may have already been replaced. This provides extensions functionally identical to the default ones, which you know you can access reliably, no matter what extensions have been installed previously.

Install

$ npm install default-require-extensions

Usage

const js = require('default-require-extensions/js');
const json = require('default-require-extensions/json');

require.extensions['.js'] = js;
require.extensions['.js'] = json;

Note: You would never actually do the above. Use these in your custom require extensions instead.