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.

readme.md 963B

123456789101112131415161718192021222324252627
  1. # default-require-extensions [![Build Status](https://travis-ci.org/avajs/default-require-extensions.svg?branch=master)](https://travis-ci.org/avajs/default-require-extensions)
  2. > Node's default require extensions as a separate module
  3. Handy for require extension authors that want reliable access to the default extension implementations.
  4. 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.
  5. ## Install
  6. ```
  7. $ npm install default-require-extensions
  8. ```
  9. ## Usage
  10. ```js
  11. const js = require('default-require-extensions/js');
  12. const json = require('default-require-extensions/json');
  13. require.extensions['.js'] = js;
  14. require.extensions['.js'] = json;
  15. ```
  16. *Note:* You would never actually do the above. Use these in your custom require extensions instead.