Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davebitter/csp-trusted-type
Demo website showcasing Trusted Types for CSP
https://github.com/davebitter/csp-trusted-type
csp parcel parceljs trusted-types xss xss-attacks xss-detection xss-exploitation xss-vulnerability
Last synced: about 1 month ago
JSON representation
Demo website showcasing Trusted Types for CSP
- Host: GitHub
- URL: https://github.com/davebitter/csp-trusted-type
- Owner: DaveBitter
- License: mit
- Created: 2022-10-11T14:53:40.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-19T08:05:05.000Z (about 2 years ago)
- Last Synced: 2024-01-27T06:39:55.929Z (10 months ago)
- Topics: csp, parcel, parceljs, trusted-types, xss, xss-attacks, xss-detection, xss-exploitation, xss-vulnerability
- Language: HTML
- Homepage: https://trusted-type-csp-demo.davebitter.com/
- Size: 764 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CSP Trusted Type Demo
This repository holds the demo website showcasing Trusted Type for CSP.
> [View Demo](https://trusted-type-csp-demo.davebitter.com/)
## Getting started
- Run `yarn` | `npm install` to install all needed dependencies
- Run `yarn dev` | `npm run dev` to run the development environment
- Run `yarn build` | `npm run build` to create a production build## Development setup
This project uses [Parcel](https://parceljs.org/) to develop and build. Refer to their documentation to get up to speed on how to work with it. Besides that, it uses the [posthtml-include plugin](https://github.com/posthtml/posthtml-include) to make use of partials.