serve

Static file serving and directory listing

MIT License

Downloads
5.5M
Stars
9.4K
Committers
94

Bot releases are visible (Hide)

serve -

Published by leo over 7 years ago

Minor Changes

  • Added --no-clipboard option: 7657ceba8fb602537003c8231266b7cf2179f180
  • Indicate name of directory that doesn't exist: 1d22c8135cec1847bffdc1c976d81a90ce38755e

Patches

  • Added .editorconfig file: #142
  • Shortened description in .editorconfig: dcde9bfb51e9f41d9ef8f7f7f445dc8f3c6f49da
  • Use prettier to enforce a code style: 0ca892ac29da6cc6d927684bd44faf633d9fd7ba
  • Prettified everything: 555561fe50a11326be9dcce26a64396631d4f869

Credits

Huge thanks to @williamboman for his help!

serve -

Published by leo over 7 years ago

Patches

  • Chore(package): update husky to version 0.13.3-0: #133
  • Use clipboardy for copying to clipboard in a better way: #130
  • Adjusted the readme.md wording to indicate that serve can also list files: #134
  • Fix(package): update clipboardy to version 1.0.1: #135
  • Chore(package): update xo to version 0.18.0: #137
  • Fix(package): update detect-port to version 1.1.1: #136

Credits

Huge thanks to @floatdrop and @francocorreasosa for their help!

serve -

Published by leo over 7 years ago

Patches

  • Don't freeze if path doesn't exist: #132

Credits

Huge thanks to @AndyBitz for his help!

serve -

Published by leo over 7 years ago

Patches

  • Alias boolean cli flags in minimist config: #129
  • No need to define option aliases as boolean: 870028955b5cfafeed43b0cc830e1c1c85aa3fba

Credits

Huge thanks to @disquisition for their help!

serve -

Published by leo over 7 years ago

Patches

  • Only show network address if local IP is available: 89651cc61baf333656061dcbcf2722690611d5a3
  • Prettier newlines in terminal message: 343daa375c93874638c6d8abacfe3083d794a3f6
  • Catch errors directly when copying to clipboard: f0fd992e55948956638c60eb000900397625bfac
  • Don't try to copy to clipboard on linux: 9ec86c4ef9bd27d8adc76773a415b173b6df4ac4

Huge thanks to @AndyBitz for helping me by testing these patches! ❤️

serve -

Published by leo over 7 years ago

Major Changes

  • Switch default port from 3000 to 5000: 829287236fd1731ed9e8ddc9489d40b9798b1bb2
  • Made the path the first parameter on the programmatic API: 2db4dd31f1d74b3b202ed25d91649e5a5e5c987d

Patches

  • Defined remaining bool flags with the correct type: faf30b85b91c98ce8f17bb287764d6c5d5207e82
  • No need to pass a default value for --ignore to args: 1e7ffac7c1fb3518f7476454e5ebee6b33e0622f
  • Updated example screenshot: 16963603d541458977210cf893f2d25f373614a8
  • Options should be defined before the path: 5b1d7bce70e03efe37c1e313b099b04b75322571
serve -

Published by leo over 7 years ago

Patches

  • Treat --single and -s flags as booleans: c9826263d98b2b6bd579c11822458313f2e7ec6c
  • Test on LTS version of node as well: 6ce8194a1a7c95585d2ac13b70aeeb8fb9b1a638
serve -

Published by leo over 7 years ago

Patches

  • Only show update message if not in production: b5d3ff05d640d40b150283b796ed92b26e60ec87
  • Use the same procedure for running message: dbc5384b901cdc915737d8b7c04c7f67d784cd98
serve -

Published by leo over 7 years ago

Major Changes

  • Let args decide the short flag for --cors (=> -C): bc94699f6cefba355879bc8b82825d437e35da24

Minor Changes

Patches

  • Fix(package): update filesize to version 3.5.5: #119
  • Fix(package): update send to version 0.15.0: #120
serve -

Published by leo over 7 years ago

Patches

  • Only copy to clipboard on darwin: 83ebb04e4324372c7dc7b29f9b4c617df5627647
  • Example for --auth: 190bc0d996c27a9a342bcb54000e6beeb855a9fe
serve -

Published by leo over 7 years ago

Minor Changes

  • Add a programmatic API (fixes #86): #113

Patches

  • Unneeded XO rules removed: e24a9e7ae68eb5ba1ee33dd98f33d59079a9f427
  • Promisify copy: #114
  • Fix(package): update update-notifier to version 2.1.0: #115
  • Perfected docs for programmatic API: 20071f50f29559208dedbefc80b4669c35ac2295

Credits

Huge thanks to @dar5hak and @disquisition for their help!

serve -

Published by leo over 7 years ago

Huge performance upgrade, folks! 🎉

Patches

  • Use bluebird instead of async/await (much faster runtime): 90a355d89498d481a19ff8e71597ebfe062a5056
  • Fix(package): update update-notifier to version 2.0.0: #110
  • Fix a trailing slash with query strings: #109
  • Lowercased text files: d6d702bce2449a3eeb1f20b3ba4d58c1dfb7ffc7
  • Moved core of package to binary: 93be5b1bd7fc4e66d6206674005dc4e133b864b7
  • Time for browser caching is in milliseconds: 0e7c9629eee741bcab97e1b381990b89da9c5e1e

Credits

Huge thanks to @nulltask for his help!

serve -

Published by leo over 7 years ago

Minor Changes

  • Add title attributes to file links: #106

Patches

  • Remove the bullet characters: #104
  • Remove unused code: #107
  • Fix(package): update fs-promise to version 2.0.0: #108
  • Copy local URL to clipboard: 62cb176658bdf14b232996e38f69ff5a11be94f7

Credits

Huge thanks to @disquisition and @thorn0 for their help!

serve -

Published by leo over 7 years ago

Patches

  • Mention all old names: 4714bc8a2451e54cb34aa04f55aa250a6b60fa41
  • Make command history available: 40818848b54da56c474a743b59d015f8f92062de
  • Only copy to clipboard for TTY: a650cf77d24b64e1a464241144be73c8b7ceb95e
serve -

Published by leo over 7 years ago

Patches

  • Make --cache work again: 38cc9a3e530ef2db6a6fdc738e4cdec98048bacc
  • Also make --cors be respected again: b7be3483cf40d71878c98e5c2c535c93358f3ad7
  • CORS headers should apply to all responses: 0919187a3ae33ee59bc47f78db82e1ef851a94cd
  • Same for --cache: 6ffdd4086f2f09d4f2f932d58a0a0670601ee67b
serve -

Published by leo over 7 years ago

Patches

  • Bumped micro and async-to-gen: 24940881c93dd092745ee8b7e595a15eab19aa62 and a85d197e8706f9b4c9224a13bf8abe3f3c903ede
serve -

Published by leo over 7 years ago

Patches

  • Save exact version of dependencies: f9acca40a77f393cf6a3af22e47a28d2bf973dff
  • Updated micro to latest version: 58ff2e1ef863953a208a509756c8625149ad933f
  • Perfected mechanism for transpilation: 84673b2ae2d4219d773016af3dd120525aeeec01
serve -

Published by leo over 7 years ago

Patches

  • Use glob pattern for excluding files: f8416f11a96743dc52eaf30cd1ce119f7f78fda4
  • Pinned dependencies: 6a89a8dedc59c96d013a6e796d55117d6cbe577f
  • Downgraded async-to-gen: 834d56ba5ca497ce5d6e596fec41149a5b15bf94
serve -

Published by leo over 7 years ago

Patches

  • Exclude node_modules from transpilation explicitly: d18a284222ba74c577ef66dcbe28bd11c5d0bb7c
serve -

Published by leo over 7 years ago

Patches

  • Bumped micro to latest version: 81f08d1f325b7d746242ccf17f1cca37f149695c