Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
JS client for the BridgeDb ID mapping framework webservice. If you want to use the version, see the 5x
branch.
Browser
<script src="https://bridgedb.github.io/bridgedbjs/dist/bridgedb-5.0.13.min.js"></script>
Node.js
npm install --save bridgedb
var BridgeDb = require('bridgedb').default; // Omit this line unless you're using Node.js
var bridgeDbInstance = new BridgeDb();
bridgeDbInstance.search('Mouse', 'Nfkb1')
.subscribe(function(searchResult) {
console.log('Result for Nfkb1');
console.log(searchResult);
});
Use ES2015, options and error catching.
import BridgeDb from 'bridgedb';
const bridgeDbInstance = new BridgeDb({
baseIri: 'http://example.org/',
dataSourcesHeadersIri: 'http://example.org/data-sources-headers.txt'
dataSourcesMetadataIri 'http://example.org/data-sources.txt',
});
bridgeDbInstance.search('Mouse', 'Nfkb1')
.subscribe(function(searchResult) {
console.log('Result for Nfkb1');
console.log(searchResult);
}, function(err) {
throw err;
}, function() {
console.log('complete');
});
The methods return RxJS Observables, meaning can use subscribe
as shown above to get the next values, catch errors and be notified when the observable is complete.
For more examples, see the test directory.
git clone https://github.com/bridgedb/bridgedbjs.git
(or use your fork's URL)cd bridgedbjs
npm install
Each time this library is instantiated, it downloads the following files:
These files are accessed via the RawGit CDN. The desired version of the files to download is specified in src/main.ts
as the commit hash of the latest release of bridgedbjs
, e.g/, 24186142d05b5f811893970b9a5d61a06f241f68
to produce a URL like https://cdn.rawgit.com/bridgedb/BridgeDb/24186142d05b5f811893970b9a5d61a06f241f68/org.bridgedb.bio/resources/org/bridgedb/bio/datasources.txt
attributeSearch
for both the API client and the UI component.attributeSearch
be at least three characters in length.npm install
throws an error like library not found for -lgcc_s.10.5
cd /usr/local/lib
>sudo ln -s ../../lib/libSystem.B.dylib libgcc_s.10.5.dylib
FAQs
JS client for BridgeDb.org ID mapping framework webservices
The npm package bridgedb receives a total of 62 weekly downloads. As such, bridgedb popularity was classified as not popular.
We found that bridgedb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.