Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ebi-wp/ebinocle-ng-rsclient

Package Overview
Dependencies
Maintainers
3
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ebi-wp/ebinocle-ng-rsclient - npm Package Compare versions

Comparing version 4.8.0 to 4.8.1

20

package.json
{
"name": "@ebi-wp/ebinocle-ng-rsclient",
"version": "4.8.0",
"version": "4.8.1",
"license": "Apache-2.0",
"homepage": "https://www.ebi.ac.uk/ebisearch/",
"description": "EBI Search REST interface client",
"description": "EBI Search REST API interface client",
"keywords": [
"EBI Search",
"API",
"REST",
"Typescript"
"REST"
],
"contributors": [
"Prasad Basutkar <prasadb@ebi.ac.uk>",
"Young Mi Park <ympark@ebi.ac.uk>",
"Tamer Gur <tgur@ebi.ac.uk>",
"Nicola Buso <nbuso@ebi.ac.uk>"
],
"peerDependencies": {

@@ -24,6 +17,6 @@ "@angular/common": "^14.0.2",

},
"private": false,
"dependencies": {
"tslib": "^2.0.0"
"tslib": "^2.3.0"
},
"sideEffects": false,
"module": "fesm2015/ebi-wp-ebinocle-ng-rsclient.mjs",

@@ -47,4 +40,3 @@ "es2020": "fesm2020/ebi-wp-ebinocle-ng-rsclient.mjs",

}
},
"sideEffects": false
}
}

@@ -1,35 +0,24 @@

# ebinocle-ng-rsclient
# EbinocleNgRsclient
> EBI Search Angular REST client
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.1.0.
## Install
## Code scaffolding
```
npm i @ebi-wp/ebinocle-ng-rsclient
```
Run `ng generate component component-name --project ebinocle-ng-rsclient` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ebinocle-ng-rsclient`.
> Note: Don't forget to add `--project ebinocle-ng-rsclient` or else it will be added to the default project in your `angular.json` file.
## Usage example
## Build
The following example, creates a `SearchRequest` object, sets the domain and query.
Then it gets the search results using that object.
Run `ng build ebinocle-ng-rsclient` to build the project. The build artifacts will be stored in the `dist/` directory.
```
import { Component } from '@angular/core';
import { Configuration, SearchRequest, SearchService } from '@ebi-wp/ebinocle-ng-rsclient';
## Publishing
@Component({
selector: 'app-search',
templateUrl: './search.component.html'
})
export class SearchComponent {
constructor(private readonly searchService: SearchService) {}
After building your library with `ng build ebinocle-ng-rsclient`, go to the dist folder `cd dist/ebinocle-ng-rsclient` and run `npm publish`.
public search() {
const searchRequest = new SearchRequest(new Configuration());
searchRequest.setDB('embl');
searchRequest.query = 'mouse';
## Running unit tests
return this.searchService.getSearchResults(searchRequest);
}
}
```
Run `ng test ebinocle-ng-rsclient` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc