https://github.com/ragingwind/got-psk
Get [Polymer Starter Kit](https://goo.gl/xWC7vj) with variety options
https://github.com/ragingwind/got-psk
Last synced: 11 months ago
JSON representation
Get [Polymer Starter Kit](https://goo.gl/xWC7vj) with variety options
- Host: GitHub
- URL: https://github.com/ragingwind/got-psk
- Owner: ragingwind
- License: mit
- Created: 2015-09-16T22:35:53.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-12-18T22:12:36.000Z (over 10 years ago)
- Last Synced: 2025-02-13T01:48:23.213Z (over 1 year ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# got-psk [](https://travis-ci.org/ragingwind/got-psk)
> Got [Polymer Starter Kit](https://goo.gl/xWC7vj) in variety options
## Install
```
$ npm install --save got-psk
```
## Usage
```js
var gotPSK = require('got-psk');
gotPSK('psk-project', 'full').then(function () {
});
```
## API
### gotPSK(dest, version)
#### dest
Type: `string`
path to download a zip file
#### version
Type: `string`
`light` or `full`, version types of PSK to download and install, are acceptable version set of version type. it also can be used with version number with `@`, if the number is not given, will download `latest` version. see a sample for understanding.
- 'full': download from full version released latest
- 'full@1.1.0': download from full version released with 1.1.0 tag
- 'light@1.0.3': download from light version released with 1.0.3 tag
## CLI
```
$ npm install --global got-psk
```
```
$ got-psk --help
Usage
$ got-psk
Examples
$ got-psk .
# will download the latest version of PSK full version to current path
$ got-psk . light
# will download the latest version of PSK light version to current path
$ got-psk . full@1.0.3
# will download the 1.0.3 version of PSK light version to current path
```
## License
MIT © [Jimmy Moon](http://ragingwind.me)