Skip to content

ztmd/downs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

downs

Download sourcemaps to unsourcemap them.

Install

npm:

npm install downs --global

yarn:

yarn global add downs

Usage

downs url [options]

See help for more information.

url is a required parameter.

Available Options

--version/-v

Display the verison.

--help/-h

Display the help document.

--input/-i/--src/--url

  • type: String

Specify the url to download. Ends with '/'.

--output/-o/--dist

  • type: String
  • default: 'dist'

Directory for file output. If it is not start with '/', downs will parse it as a relative path to process.cwd().

--index-path

  • type: String
  • default: 'index.html'

Specify the homepage's filename to write.

--js-path

  • type: String
  • default: 'static/js/'

Specify the path for js files. Ends with '/'.

--css-path

  • type: String
  • default: 'static/css/'

Specify the path for css files. Ends with '/'.

--js

  • type: Boolean
  • default: true

Fetch js files and sourcemaps.

--css

  • type: Boolean
  • default: false

Fetch css files and sourcemaps.

Development

Checkout this repository locally, then:

node bin/downs

License

MIT

See LICENSE for more information.

About

Download sourcemaps to unsourcemap them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published