
Security News
Socket Integrates With Bun 1.3’s Security Scanner API
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
@js4cytoscape/cx2js
Advanced tools
Convert CX JSON to cytoscape.js.
cytoscape-cx2js does not handle conversion of Cytoscape Desktop Annotations. To convert Cytoscape Desktop Annotations to cytoscape.js see: cyannotation-cx2js.
cytoscape-cx2js does not handle conversion of CX2. To convert CX2 to cytoscape.js see: cx-viz-converter.
Documentation for the CX data model can be found here.
npm run build
: build projectnpm run build-prod
: build the project for productionnpm run clean
: clean the projectnpm run watch
: watch mode (debug mode enabled, autorebuild, autoreload)npm test
: run testsnpm run lint
: lint the projectAll files /test
will be run by Mocha. You can npm test
to run all tests, or you can run mocha -g specific-test-name
(prerequisite: npm install -g mocha
) to run specific tests.
Chai is included to make the tests easier to read and write.
npm test
npm run lint
npm version
, in accordance with semver. The version
command in npm
updates both package.json
and git tags, but note that it uses a v
prefix on the tags (e.g. v1.2.3
).npm version patch
.npm version minor
.npm version major.
npm version 1.2.3
.git push origin --tags
npm publish .
FAQs
A cx to Cytoscape JS utility
The npm package @js4cytoscape/cx2js receives a total of 4 weekly downloads. As such, @js4cytoscape/cx2js popularity was classified as not popular.
We found that @js4cytoscape/cx2js 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
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Security News
Python 3.14 adds template strings, deferred annotations, and subinterpreters, plus free-threaded mode, an experimental JIT, and Sigstore verification.
Security News
Former RubyGems maintainers have launched The Gem Cooperative, a new community-run project aimed at rebuilding open governance in the Ruby ecosystem.