Skip to content

Commit

Permalink
update: README.mds.
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzNotABug committed May 22, 2024
1 parent b82a9bf commit 78741bd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 0 additions & 2 deletions compression/zstd-compression/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

This module allows you to perform `zstd` web compression for compressible resources.

**Note: This module is not yet compatible with the current version of AppExpress (`0.2.4`)!**

## Installation

Add the middleware like this -
Expand Down
2 changes: 0 additions & 2 deletions middlewares/minifier/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ Content with `content-type` that contains `text/`, `application/json` and `appli
For detailed HTML minification options, refer to
the [html-minifier-terser documentation](https://github.com/terser/html-minifier-terser?tab=readme-ov-file#options-quick-reference).

**Note: This module is not yet compatible with the current version of AppExpress (`0.2.4`)!**

## Installation

Add the middleware like this -
Expand Down
2 changes: 0 additions & 2 deletions middlewares/no-cookies/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ This module allows you to serve resources without any cookies.\
Any `key` in the headers containing the word `cookie` will be stripped from both incoming requests and outgoing
responses.

**Note: This module is not compatible with the current version of AppExpress (`0.2.4`)!**

## Installation

Add the middleware like this -
Expand Down
8 changes: 4 additions & 4 deletions view-engines/jsx-engine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ const express = new AppExpress();

// configure options if you want.
// jsx.options({ useStaticMarkup: true });
express.engine('jsx', jsx.engine); // js, jsx, tsx
express.engine(['jsx', 'tsx'], jsx.engine); // js, jsx, tsx

// render jsx and pass props
express.get('/jsx', (req, res) => {
res.render('index', { name: 'JohnDoe' });
// or `res.render('index.jsx', { name: 'JohnDoe' });` if you have multiple view engines registered.
// or `res.render('index.tsx', { name: 'JohnDoe' });` if you have multiple view engines registered.
res.render('index', { name: 'JohnDoe' });
// or `res.render('index.jsx', { name: 'JohnDoe' });` if you have multiple view engines registered.
// or `res.render('index.tsx', { name: 'JohnDoe' });` if you have multiple view engines registered.
});
```

Expand Down

0 comments on commit 78741bd

Please sign in to comment.