Skip to main content
Home

Built and signed on GitHub Actions

OakScriptJS is a TypeScript/JavaScript library that mirrors PineScript's calculation and indicator API, maintaining exact function signatures and behavior. This library focuses on the computational core of PineScript

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
88%
Published
6 days ago (0.1.3)
interface ContextConfig

Configuration for creating a context with implicit data. Can accept either explicit ChartData or an array of Bars.

Properties

optional
chart: ChartData

Chart data (OHLCV) for technical analysis functions

Symbol information for price-related functions

optional
data: Bar[]

Optional: Raw bar data (alternative to chart)

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@deepentropy/oakscriptjs

Import symbol

import { type ContextConfig } from "@deepentropy/oakscriptjs";
or

Import directly with a jsr specifier

import { type ContextConfig } from "jsr:@deepentropy/oakscriptjs";

Add Package

pnpm i jsr:@deepentropy/oakscriptjs
or (using pnpm 10.8 or older)
pnpm dlx jsr add @deepentropy/oakscriptjs

Import symbol

import { type ContextConfig } from "@deepentropy/oakscriptjs";

Add Package

yarn add jsr:@deepentropy/oakscriptjs
or (using Yarn 4.8 or older)
yarn dlx jsr add @deepentropy/oakscriptjs

Import symbol

import { type ContextConfig } from "@deepentropy/oakscriptjs";

Add Package

vlt install jsr:@deepentropy/oakscriptjs

Import symbol

import { type ContextConfig } from "@deepentropy/oakscriptjs";

Add Package

npx jsr add @deepentropy/oakscriptjs

Import symbol

import { type ContextConfig } from "@deepentropy/oakscriptjs";

Add Package

bunx jsr add @deepentropy/oakscriptjs

Import symbol

import { type ContextConfig } from "@deepentropy/oakscriptjs";