https://github.com/michaelbukachi/flask-antijs
An extension to check 'undefined' JS values
https://github.com/michaelbukachi/flask-antijs
flask python python3
Last synced: 3 months ago
JSON representation
An extension to check 'undefined' JS values
- Host: GitHub
- URL: https://github.com/michaelbukachi/flask-antijs
- Owner: michaelbukachi
- License: bsd-2-clause
- Created: 2019-08-02T16:00:51.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-05T21:04:04.000Z (almost 7 years ago)
- Last Synced: 2025-06-05T19:02:40.191Z (about 1 year ago)
- Topics: flask, python, python3
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flask-AntiJs
[](https://pypi.python.org/pypi/Flask-AntiJs)
[](https://travis-ci.com/michaelbukachi/flask-antijs)
Flask-AntiJs is a Flask extension the protects endpoints against
'undefined' javascript values by checking the URL, query params and payloads
and return a 400 (Bad request) response.
### Install
```
$ pip install Flask-AntiJs
```
### Usage
```
from flask import Flask
from flask_antijs import AntiJs
app = Flask(__name__)
AntiJs(app)
```
### Issues
Feel free to raise any issue [here](https://github.com/michaelbukachi/flask-antijs/issues).
### Contributions
All contributions are welcome:smile:.