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 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # import-local [![Build Status](https://travis-ci.org/sindresorhus/import-local.svg?branch=master)](https://travis-ci.org/sindresorhus/import-local)
  2. > Let a globally installed package use a locally installed version of itself if available
  3. Useful for CLI tools that want to defer to the user's locally installed version when available, but still work if it's not installed locally. For example, [AVA](http://ava.li) and [XO](https://github.com/xojs/xo) uses this method.
  4. ## Install
  5. ```
  6. $ npm install import-local
  7. ```
  8. ## Usage
  9. ```js
  10. const importLocal = require('import-local');
  11. if (importLocal(__filename)) {
  12. console.log('Using local version of this package');
  13. } else {
  14. // Code for both global and local version here…
  15. }
  16. ```
  17. ---
  18. <div align="center">
  19. <b>
  20. <a href="https://tidelift.com/subscription/pkg/npm-import-local?utm_source=npm-import-local&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
  21. </b>
  22. <br>
  23. <sub>
  24. Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
  25. </sub>
  26. </div>