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.

45 lines
1.5 KiB

4 years ago
  1. # node-concatenate
  2. Easily concatenate files
  3. ## API
  4. ### `concatenate(files, cb)`
  5. Parameters:
  6. - `files` A list of files or file patterns to concatenate
  7. - `cb` Either a callback function or a file path to synchronously write to
  8. ### `concatenate.sync(files, [out])`
  9. Parameters:
  10. - `files` A list of files or file patterns to concatenate
  11. - `out` An optional file path to synchronously write to
  12. ## License
  13. (The MIT License)
  14. Copyright (c) 2012 Stephen Mathieson <me@stephenmathieson.com>
  15. Permission is hereby granted, free of charge, to any person obtaining
  16. a copy of this software and associated documentation files (the
  17. 'Software'), to deal in the Software without restriction, including
  18. without limitation the rights to use, copy, modify, merge, publish,
  19. distribute, sublicense, and/or sell copies of the Software, and to
  20. permit persons to whom the Software is furnished to do so, subject to
  21. the following conditions:
  22. The above copyright notice and this permission notice shall be
  23. included in all copies or substantial portions of the Software.
  24. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
  25. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  26. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  27. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  28. CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  29. TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  30. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.