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

node-ncbi

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-ncbi - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

types/node-ncbi.d.ts

3

package.json
{
"name": "node-ncbi",
"version": "0.7.1",
"version": "0.7.2",
"description": "Access and parse the NCBI eUtils API in Node or the Browser",

@@ -13,2 +13,3 @@ "keywords": [

"main": "index.js",
"types": "types/node-ncbi.d.ts",
"scripts": {

@@ -15,0 +16,0 @@ "start": "node ./bin/repl",

@@ -25,4 +25,4 @@ # node-ncbi

const pubmed = ncbi.pubmed;
pubmed.search('actin').then((results) => {
console.log(results);
pubmed.search("actin").then((results) => {
console.log(results);
});

@@ -53,4 +53,4 @@ ```

```javascript
pubmed.search('actin', 1).then((results) => {
console.log(results);
pubmed.search("actin", 1).then((results) => {
console.log(results);
});

@@ -62,8 +62,8 @@ ```

```javascript
pubmed.search('actin', 0, 20).then((results) => {
console.log(results);
pubmed.search("actin", 0, 20).then((results) => {
console.log(results);
});
```
###Looking up a specific paper
### Looking up a specific paper

@@ -82,3 +82,3 @@ ```javascript

- `summary()` - get the "summary" - an object of fields containing title, authors, citation info, etc.
- `cites()` - papers which this paper cites.
- `cites()` - papers which this paper cites.
- `citedBy()` - papers which cite this paper (only includes citing papers in PubMed central)

@@ -111,8 +111,8 @@ - `similar()` - papers similar to this one (similarity is calculated on NCBI's side of the API, not ours).

`url` will log the URL needed to access eUtils while `open` will open that URL in a browser. This can help with debugging and to look at the actual data which is useful to create new queries. [See the full documentation of eUtils](http://www.ncbi.nlm.nih.gov/books/NBK25500/) for more information on creating
queries.
`url` will log the URL needed to access eUtils while `open` will open that URL in a browser. This can help with debugging and to look at the actual data which is useful to create new queries. [See the full documentation of eUtils](http://www.ncbi.nlm.nih.gov/books/NBK25500/) for more information on creating
queries.
## License
Copyright (c) 2016 Casey A. Ydenberg
Copyright (c) 2022 Casey A. Ydenberg

@@ -131,3 +131,3 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER

@@ -134,0 +134,0 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,

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