https://github.com/cdata/swampthing
Swamp Thing is a basic JS / CSS HTTP minification service.
https://github.com/cdata/swampthing
Last synced: 10 months ago
JSON representation
Swamp Thing is a basic JS / CSS HTTP minification service.
- Host: GitHub
- URL: https://github.com/cdata/swampthing
- Owner: cdata
- Created: 2011-04-18T22:32:13.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2011-04-19T20:30:22.000Z (almost 15 years ago)
- Last Synced: 2024-04-13T23:52:40.386Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 93.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
@@@@@@ @@@ @@@ @@@ @@@@@@ @@@@@@@@@@ @@@@@@@
@@@@@@@ @@@ @@@ @@@ @@@@@@@@ @@@@@@@@@@@ @@@@@@@@
!@@ @@! @@! @@! @@! @@@ @@! @@! @@! @@! @@@
!@! !@! !@! !@! !@! @!@ !@! !@! !@! !@! @!@
!!@@!! @!! !!@ @!@ @!@!@!@! @!! !!@ @!@ @!@@!@!
!!@!!! !@! !!! !@! !!!@!!!! !@! ! !@! !!@!!!
!:! !!: !!: !!: !!: !!! !!: !!: !!:
!:! :!: :!: :!: :!: !:! :!: :!: :!:
:::: :: :::: :: ::: :: ::: ::: :: ::
:: : : :: : : : : : : : : :
@@@@@@@ @@@ @@@ @@@ @@@ @@@ @@@@@@@@
@@@@@@@ @@@ @@@ @@@ @@@@ @@@ @@@@@@@@@
@@! @@! @@@ @@! @@!@!@@@ !@@
!@! !@! @!@ !@! !@!!@!@! !@!
@!! @!@!@!@! !!@ @!@ !!@! !@! @!@!@
!!! !!!@!!!! !!! !@! !!! !!! !!@!!
!!: !!: !!! !!: !!: !!! :!! !!:
:!: :!: !:! :!: :!: !:! :!: !::
:: :: ::: :: :: :: ::: ::::
: : : : : :: : :: :: :
Swamp Thing provides a basic http server that takes in JavaScript and CSS and
spits out minified equivalents.
## API
### POST /minify/:type
POST to the service with the content you wish to minify as the POST body. Type
should be either 'js' or 'css.'
## The future
Things I'm planning to add:
- Return minified content based on a provided file path.
- Bundle with a Connect middleware.
- Publish on NPM.
- ???