express-html-snapshots
Express HTML snapshots middleware
Last updated 6 years ago by jackdbernier .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install express-html-snapshots 
SYNC missed versions from official npm registry.

#express-html-snapshots

Build Status

Dependency Status

Provides a useful middleware for express that allows heavy javascript web applications to be crawled by search engines.

How to install

npm install --save express-html-snapshots

How to run tests

npm install
npm test

How to use

You can take a look at the sample application (https://github.com/OpenifyIt/express-html-snapshots/tree/master/samples/angularjs)

Otherwise it's really straight forward.

app.configure(function(){
    // ...
    app.use(require('express-html-snapshots').middleware);
    app.use(app.router);
    // ...
});

TODOS

  • Create static snapshots
  • Serve a static snapshot if it exists
  • More doc
  • Extract HtmlSnapshot into a diffent package
  • End to end tests

Contributions

Contributions are welcome! Make sure to include tests with your pull request.

##Issues If you find an issue, please specified the steps to reproduce it. If you can provide a script to reproduce the issue, it's even better!.

Thanks

Current Tags

  • 1.1.1                                ...           latest (6 years ago)

18 Versions

  • 1.1.1                                ...           6 years ago
  • 1.1.0                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
  • 0.2.1                                ...           7 years ago
  • 0.2.0                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
  • 0.0.11                                ...           7 years ago
  • 0.0.10                                ...           7 years ago
  • 0.0.9                                ...           7 years ago
  • 0.0.8                                ...           7 years ago
  • 0.0.7                                ...           7 years ago
  • 0.0.6                                ...           7 years ago
  • 0.0.5                                ...           7 years ago
  • 0.0.4                                ...           7 years ago
  • 0.0.3                                ...           7 years ago
  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |