UNPKG

1.32 kBMarkdownView Raw
1
2# cp
3
4`cp` for node
5
6Really simple, straight-forward copying of files.
7
8## API
9
10### `cp(src, dest, cb)`
11
12Copy file `src` to `dest`
13
14### `cp.sync(src, dest)`
15
16Synchronously copy file `src` to `dest`
17
18## License
19
20(The MIT License)
21
22Copyright (c) 2013 Stephen Mathieson <me@stephenmathieson.com>
23
24Permission is hereby granted, free of charge, to any person obtaining
25a copy of this software and associated documentation files (the
26'Software'), to deal in the Software without restriction, including
27without limitation the rights to use, copy, modify, merge, publish,
28distribute, sublicense, and/or sell copies of the Software, and to
29permit persons to whom the Software is furnished to do so, subject to
30the following conditions:
31
32The above copyright notice and this permission notice shall be
33included in all copies or substantial portions of the Software.
34
35THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
36EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
37MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
38IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
39CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
40TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
41SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\No newline at end of file