import { jsConfigParams } from "./params"; import { CodeBlock } from "../CodeBlock/CodeBlock"; import { Callout } from "../Callout/Callout"; function getExampleJsonConfig() { return JSON.stringify( jsConfigParams.map(({ name }) => [name, "..."]).reduce((acc, [key, value]) => ({ ...acc, [key]: value }), {}), null, 2 ); } export const NPMManual: React.FC<{ domain: string; writeKey?: string }> = ({ domain, writeKey }) => { return (
@jitsu/js is an NPM package that allows you to track events from your JavaScript code. The
package is isomorphic and can be used in both browser and Node.js environments.
RuntimeFacade interface. Provide you own implementation of
`RuntimeFacade` for nodejs