https://github.com/scalajs-io/angular-sanitize
angular-sanitize bindings for Scala.js
https://github.com/scalajs-io/angular-sanitize
angular angularjs html html-css sanitization scala scalajs
Last synced: 7 months ago
JSON representation
angular-sanitize bindings for Scala.js
- Host: GitHub
- URL: https://github.com/scalajs-io/angular-sanitize
- Owner: scalajs-io
- License: apache-2.0
- Created: 2017-03-11T21:56:00.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-17T23:06:51.000Z (over 6 years ago)
- Last Synced: 2025-03-11T07:52:39.061Z (about 1 year ago)
- Topics: angular, angularjs, html, html-css, sanitization, scala, scalajs
- Language: Scala
- Size: 14.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Angular Sanitize API for Scala.js
================================
[angular-sanitize](https://www.npmjs.com/package/angular-sanitize) - angular-sanitize binding for Scala.js.
### Description
An `angular-sanitize` binding for Scala.js.
### Build Dependencies
* [SBT v1.2.x](http://www.scala-sbt.org/download.html)
### Build/publish the SDK locally
```bash
$ sbt clean publish-local
```
### Running the tests
Before running the tests the first time, you must ensure the npm packages are installed:
```bash
$ npm install
```
Then you can run the tests:
```bash
$ sbt test
```
### Artifacts and Resolvers
To add the `angular-sanitize` binding to your project, add the following to your build.sbt:
```sbt
libraryDependencies += "io.scalajs.npm" %%% "angular-sanitize" % "0.5.0"
```
Optionally, you may add the Sonatype Repository resolver:
```sbt
resolvers += Resolver.sonatypeRepo("releases")
```