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.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # globjoin
  2. Join paths and globs.
  3. [![MIT](http://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/amobiz/globjoin/blob/master/LICENSE) [![npm version](https://badge.fury.io/js/globjoin.svg)](http://badge.fury.io/js/globjoin) [![David Dependency Badge](https://david-dm.org/amobiz/globjoin.svg)](https://david-dm.org/amobiz/globjoin)
  4. [![NPM](https://nodei.co/npm/globjoin.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/globjoin.png?downloads=true&downloadRank=true&stars=true) [![NPM](https://nodei.co/npm-dl/globjoin.png?months=6&height=3)](https://nodei.co/npm/globjoin/)
  5. ## Install
  6. ``` bash
  7. $ npm install globjoin
  8. ```
  9. ## API
  10. ### `globjoin(globs...)`
  11. Join paths and globs.
  12. Like Node's [path.join()](https://nodejs.org/api/path.html#path_path_join_path1_path2) that join all arguments together and normalize the resulting path, `globjoin` takes arbitrary number of paths and/or arrays of paths, join them together and take care of negative globs.
  13. #### Context
  14. Don't care.
  15. #### Parameters
  16. ##### `paths/globs`
  17. The paths/globs or arrays of paths/globs to join.
  18. #### Returns
  19. The result glob, or array of globs if any of paths/globs are array.
  20. #### Example
  21. ``` javascript
  22. var join = require('globjoin');
  23. var globs1 = join(__dirname, ['**/*.js', '!**/test*.js']);
  24. var globs2 = join('test', 'fixture', 'app', ['views', '!services'], ['**/*', '!*.{js,json,coffee,ts}']);
  25. ```
  26. Check out test for more examples.
  27. ## Issues
  28. [Issues](https://github.com/amobiz/globjoin/issues)
  29. ## Test
  30. ``` bash
  31. $ npm test
  32. ```
  33. ## Changelog
  34. [Changelog](./CHANGELOG.md)
  35. ## License
  36. MIT
  37. ## Author
  38. [Amobiz](https://github.com/amobiz)