https://github.com/cytoscape/js4cytoscape
JavaScript library for calling Cytoscape Automation via CyREST
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
3 of 10 committers (30.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.8%) to scientific vocabulary
Keywords from Contributors
Repository
JavaScript library for calling Cytoscape Automation via CyREST
Basic Info
- Host: GitHub
- Owner: cytoscape
- License: mit
- Language: JavaScript
- Default Branch: develop
- Size: 51.6 MB
Statistics
- Stars: 4
- Watchers: 13
- Forks: 4
- Open Issues: 1
- Releases: 2
Metadata Files
README.md
js4cytoscape
js4cytoscape is a collection of JavaScript / TypeScript libraries for processing CX, accessing NDEx API, and calling Cytoscape Desktop Automation via CyREST. These libraries are maintained by the Cytoscape Core Developer team.
Project List
This monorepo was derived from the following repositories:
All of the above are now in archived and all new features and bug fixes will be available from here.
How to use
The latest versions of these libraries are available in the following npm repository:
https://www.npmjs.com/org/js4cytoscape
For html users, add this to the <head> of your page (specify version @#.#.# or remove to get latest):
<script src="https://unpkg.com/@js4cytoscape/js4cytoscape@#.#.#/dist/main.js"></script>
For npm users:
npm install @js4cytoscape/PACKAGE-NAME
For yarn users:
yarn add @js4cytoscape/PACKAGE-NAME
Please read the documents in each package directory (TBD)
Quick Start Guide for Developers
This repository uses NPM and its Workspace and you need to follow these rules to avoid accidentally add unnecessary dependencies and package-lock.json files.
Build the entire
To build the latest versions, please run the following commands:
git@github.com:cytoscape/js4cytoscape.git
cd js4cytoscape
git checkout develop
npm install
npm run build --workspaces
This creates new builds of all packages in your local directory. To use these builds for development, please link those using npm link command.
Adding a new dependency
Dev Dependencies
All dev-dependencies should be added to the project root. To add a new dev-dependency, run the following command in the root directory:
npm install PACKAGE-NAME --save-dev
Dependencies for a specific sub-project
If you need to add a new dependency to a specific sub-project, you should run:
npm install PACKAGE-NAME -w packages/SUBPROJECT-NAME
Developing individual packages
- Create a new branch as a working branch.
- Make changes in the code.
- Update the version attribute in package.json file under that package. For dev releases, its value should be something like "0.4.3-alpha.1".
- Push all changes to Github.
Build that package and release to NPM as a prerelease. For example, to publish this "0.4.3-alpha.1" release of ndex-client to NPM, run these commands
cd ndex-client npm run build npm publish --tag next- If there are no errors in the prerelease, create a pull request from that branch and merge changes to develop branch.
- Tag the develop branch with that prerelease using this format
package_name-vsemVerion. For example,git tag -a cx2js-v0.6.7-alpha.0 -m 'cx2js prerelease v0.6.7-alpha.0' git push origin --tags - Delete your working branch.
Owner
- Name: Cytoscape Consortium
- Login: cytoscape
- Kind: organization
- Website: http://www.cytoscape.org/
- Repositories: 153
- Profile: https://github.com/cytoscape
GitHub Events
Total
- Watch event: 1
- Push event: 25
- Create event: 4
Last Year
- Watch event: 1
- Push event: 25
- Create event: 4
Committers
Last synced: 11 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Unknown | d****v@g****m | 618 |
| Yihang Xin | y****n@g****u | 163 |
| jingjingbic | j****c@g****m | 60 |
| Alexander Pico | a****o@g****u | 53 |
| dependabot[bot] | 4****] | 14 |
| Yihang Xin | 4****x | 14 |
| Keiichiro Ono | k****o@g****m | 14 |
| d2fong | d****g@u****a | 10 |
| chengzhangao | g****n@g****m | 8 |
| Chengzhan Gao | 1****5@q****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 18
- Total pull requests: 19
- Average time to close issues: 24 days
- Average time to close pull requests: about 20 hours
- Total issue authors: 2
- Total pull request authors: 4
- Average comments per issue: 0.78
- Average comments per pull request: 0.21
- Merged pull requests: 19
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 3 days
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- AlexanderPico (14)
- yihangx (4)
Pull Request Authors
- jingjingbic (14)
- AlexanderPico (4)
- GAOChengzhan (4)
- yihangx (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 6
-
Total downloads:
- npm 1,027 last-month
-
Total dependent packages: 7
(may contain duplicates) -
Total dependent repositories: 11
(may contain duplicates) - Total versions: 50
- Total maintainers: 6
npmjs.org: @js4cytoscape/cx-viz-converter
CX converter for large network visualization
- Homepage: https://github.com/cytoscape/js4cytoscape
- License: mit
-
Latest release: 0.1.6
published over 4 years ago
Rankings
Maintainers (6)
npmjs.org: @js4cytoscape/ndex-client
NDEx client library - Modern TypeScript implementation
- Homepage: https://github.com/cytoscape/js4cytoscape
- License: MIT
-
Latest release: 0.3.2
published over 4 years ago
Rankings
Maintainers (6)
npmjs.org: js4cytoscape
JavaScript library for calling Cytoscape Automation via CyREST
- Homepage: https://github.com/cytoscape/js4cytoscape
- License: ISC
- Status: unpublished
-
Latest release: 1.0.0
published over 4 years ago
Rankings
Maintainers (1)
npmjs.org: @js4cytoscape/cx2js
A cx to Cytoscape JS utility
- Homepage: https://github.com/cytoscape/js4cytoscape
- License: mit
-
Latest release: 0.6.11
published almost 2 years ago
Rankings
Maintainers (6)
npmjs.org: @js4cytoscape/js4cytoscape
JavaScript library for calling Cytoscape Automation via CyREST
- Homepage: https://github.com/cytoscape/js4cytoscape#readme
- License: ISC
-
Latest release: 1.1.0
published about 4 years ago
Rankings
Maintainers (6)
npmjs.org: @js4cytoscape/cyannotation-cx2js
Renders Cytoscape Desktop annotations from CX files via cytoscape.js-canvas
- Homepage: https://github.com/cytoscape/js4cytoscape
- License: MIT
-
Latest release: 0.8.7
published over 1 year ago
Rankings
Maintainers (6)
Dependencies
- 1152 dependencies
- @babel/cli ^7.17.10 development
- @babel/core ^7.18.2 development
- @babel/preset-env ^7.18.2 development
- @types/jest ^27.5.1 development
- @types/node ^17.0.35 development
- @typescript-eslint/eslint-plugin ^5.26.0 development
- @typescript-eslint/parser ^5.26.0 development
- babel-loader ^8.2.5 development
- babel-polyfill ^6.26.0 development
- babel-preset-env ^1.7.0 development
- browser-sync ^2.27.7 development
- camelcase ^6.3.0 development
- chai ^4.3.6 development
- cross-env ^7.0.3 development
- echo-cli ^2.0.0 development
- eslint ^8.16.0 development
- eslint-config-prettier ^8.5.0 development
- fs 0.0.1-security development
- fs-extra ^9.0.0 development
- jest ^28.1.0 development
- mocha ^9.2.1 development
- nock ^13.2.0 development
- npm-run-all ^4.1.1 development
- nyc ^15.1.0 development
- prettier ^2.6.2 development
- rimraf ^2.6.3 development
- sinon ^7.3.1 development
- terser-webpack-plugin ^5.3.1 development
- ts-jest ^28.0.3 development
- typescript ^4.7.2 development
- webpack ^5.72.1 development
- webpack-cli ^4.9.2 development
- @js4cytoscape/ndex-client file:packages/ndex-client development
- rewire ^6.0.0 development
- cytoscape-canvas 3.0.1
- fs ^0.0.1-security
- lodash ^4.17.10
- cytoscape-canvas 3.0.1
- lodash ^4.17.10
- webpack 4.46.0 development
- webpack-cli 4.7.2 development
- webpack-concat-plugin 3.0.0 development
- axios ^0.26.0