{"id":45175,"library":"ixn","title":"IxN - Biochemical Pathway Interactions Cache","description":"A lightweight package providing a cached dataset of biochemical pathway interactions from WikiPathways. Version 1.0.1 is the initial stable release. It offers a simple API for querying interaction data, including species, genes, and interactions. Key differentiators: no external database dependencies, pre-cached data for offline use, and minimal setup. Ideal for genomics and biochemistry applications requiring quick lookups without network latency.","status":"active","version":"1.0.1","language":"javascript","source_language":"en","source_url":"https://github.com/cachome/wikipathways-interactions","tags":["javascript","wikipathways","pathways","genomics","biochemistry"],"install":[{"cmd":"npm install ixn","lang":"bash","label":"npm"},{"cmd":"yarn add ixn","lang":"bash","label":"yarn"},{"cmd":"pnpm add ixn","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"This is a default export; CJS require may not work depending on module system.","wrong":"const IxN = require('ixn')","symbol":"IxN","correct":"import IxN from 'ixn'"},{"note":"Named export; ensure bundler supports ESM.","wrong":"const { getInteractions } = require('ixn')","symbol":"getInteractions","correct":"import { getInteractions } from 'ixn'"},{"note":"Not a default export; used for advanced caching configuration.","wrong":"import InteractionsCache from 'ixn'","symbol":"InteractionsCache","correct":"import { InteractionsCache } from 'ixn'"}],"quickstart":{"code":"import IxN from 'ixn';\n\nasync function queryInteractions(gene) {\n  const results = await IxN.getInteractions({ gene });\n  console.log(results);\n}\nqueryInteractions('BRCA1');","lang":"typescript","description":"Shows how to import the default IxN object and query interactions by gene symbol."},"warnings":[{"fix":"Use dynamic import() or configure a bundler to handle ESM.","message":"Package uses ESM only; CommonJS require() may fail without transpilation.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Check for newer versions of the package periodically.","message":"Data is cached ahead of time; updates to WikiPathways require a new package version.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Normalize input to the expected casing (usually uppercase).","message":"Query parameters may be case-sensitive (e.g., gene symbol uppercase).","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'1.0.1':20 'api':30 'applic':61 'biochem':2,14 'biochemistri':60,72 'cach':5,11,48 'data':34,49 'databas':44 'dataset':12 'depend':45 'differenti':41 'extern':43 'gene':37 'genom':58,71 'ideal':56 'includ':35 'initi':23 'interact':4,16,33,39 'ixn':1 'javascript':68 'key':40 'latenc':67 'lightweight':7 'lookup':64 'minim':54 'network':66 'offer':27 'offlin':51 'packag':8 'pathway':3,15,70 'pre':47 'pre-cach':46 'provid':9 'queri':32 'quick':63 'releas':25 'requir':62 'setup':55 'simpl':29 'speci':36 'stabl':24 'use':52 'version':19 'wikipathway':18,69 'without':65","created_at":"2026-06-07T12:53:44.229138+00:00","updated_at":"2026-06-07T12:53:44.229138+00:00","problems":[{"fix":"Run npm install ixn and ensure import path is correct.","cause":"Package not installed or import path wrong.","error":"Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'ixn'"},{"fix":"Use import IxN from 'ixn' or import { getInteractions } from 'ixn' as appropriate.","cause":"Using wrong import style (default vs named).","error":"TypeError: IxN.getInteractions is not a function"},{"fix":"Upgrade Node.js to >=14 or use a bundler like Webpack/esbuild.","cause":"Node.js version <14 or CJS environment without transpilation.","error":"SyntaxError: Unexpected token 'export'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/cachome/wikipathways-interactions","github":"https://github.com/cachome/wikipathways-interactions","docs":null,"changelog":null,"pypi":null,"npm":"ixn","openapi_spec":null,"status_page":null,"smithery":null,"categories":["storage"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-07","next_check":"2026-09-05","install_tag":null}}