![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@twentyfourg-express-sdk/rate-limit
Advanced tools
[![Version](https://flat.badgen.net/npm/v/@twentyfourg-express-sdk/rate-limit)](https://github.com/twentyfourg/express-sdk/releases) [![Installs](https://flat.badgen.net/npm/dt/@twentyfourg-express-sdk/rate-limit)](https://www.npmjs.com/package/@twentyfou
Rate limiting middleware.
router.post(
'/auth',
rateLimit({ max: 10, minutes: 1, keys: ['ip', 'body.email'] }),
validator.auth,
userController.auth
);
Options | Description | Default |
---|---|---|
minutes | Time frame in minutes for which requests are checked/remembered. | 1 |
max | The maximum number of connections to allow during the window before rate limiting the client. | 15 |
standardHeaders | Whether to enable support for headers conforming to the ratelimit standardization draft. | true |
message | The response body to send back when a client is rate limited. | { error: 'too many requests, please try again later' } |
keys | Which properties from the Express Request object to use in the rate limit composite key | ['ip', 'headers["user-agent"]'] |
whiteList | List of IP addresses to whitelist | SDK_EXPRESS_WHITE_LIST environment variable |
Variable | Description | Default |
---|---|---|
SDK_EXPRESS_WHITE_LIST | String of IP addresses separated by commas to whitelist | [] |
EXPRESS_SDK_RATE_LIMIT_DISABLED | Whether to disable rate limiting all together. Helpful for testing/dev environments. | false |
FAQs
[![Version](https://flat.badgen.net/npm/v/@twentyfourg-express-sdk/rate-limit)](https://github.com/twentyfourg/express-sdk/releases) [![Installs](https://flat.badgen.net/npm/dt/@twentyfourg-express-sdk/rate-limit)](https://www.npmjs.com/package/@twentyfou
The npm package @twentyfourg-express-sdk/rate-limit receives a total of 0 weekly downloads. As such, @twentyfourg-express-sdk/rate-limit popularity was classified as not popular.
We found that @twentyfourg-express-sdk/rate-limit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.