@fireflysemantics/join
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@fireflysemantics/join", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"bugs": { | ||
@@ -5,0 +5,0 @@ "url": "https://github.com/fireflysemantics/join/issues" |
# Join | ||
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.6. | ||
## Install | ||
## Code scaffolding | ||
``` | ||
npm i -S @fireflysemantics/join | ||
npm i -S tslib | ||
``` | ||
Run `ng generate component component-name --project join` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project join`. | ||
> Note: Don't forget to add `--project join` or else it will be added to the default project in your `angular.json` file. | ||
## Useage | ||
``` | ||
import { join } from '@fireflysemantics/join' | ||
console.log(join('http://www.example.com/', '/pity/the/foo/')) | ||
console.log(join('http://www.example.com/','', '/pity/the/foo/')) | ||
``` | ||
[Stackblitz Demo](https://stackblitz.com/edit/fireflysemantics-join?file=index.ts) | ||
## Build | ||
Run `ng build join` to build the project. The build artifacts will be stored in the `dist/` directory. | ||
Run `npm run b` to build the project. The build artifacts will be stored in the `dist/` directory. | ||
## Publishing | ||
After building your library with `ng build join`, go to the dist folder `cd dist/join` and run `npm publish`. | ||
After building your library with `npm run b`, run `npm run p` to publish. | ||
## Running unit tests | ||
Run `ng test join` to execute the unit tests via [Karma](https://karma-runner.github.io). | ||
Run `npm t` to execute the unit tests via [Jest](https://jestjs.io/). | ||
## Further help | ||
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). | ||
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34
62786