@chisel/typescriptdeprecated

Chisel Data Integration Platform TypeScript Essentials.

Usage no npm install needed!

<script type="module">
  import chiselTypescript from 'https://cdn.skypack.dev/@chisel/typescript';
</script>

README

Chisel Data Integration Framework TypeScript Essentials

This repository contains TypeScript typings and decorators used inside all scripts written on Chisel data integration framework.

Installation

npm install @chisel/typescript

Usage

For usage examples, see Chisel scripts examples.

Exports

// Exports of '@chisel/typescript'
import {
  Scraper,    // Namespace for all exports of '@chisel/typescript/scraper'
  Processor,  // Namespace for all exports of `@chisel/typescript/processor`
  Analyzer    // Namespace for all exports of `@chisel/typescript/analyzer`
} from '@chisel/typescript';

// Exports of '@chisel/typescript/processor'
import {
  ProcessorAPI,
  DatabaseRef,
  TreeRef,
  PathRef,
  DataRef,
  QueryResult,
  QueryPredicateFunction,
  QueryPredicateFactory,
  Utility,
  DataMutators,
  QueryPredicates,
  DoneFunction,
  Logger,
  Colors,
  MicrosetRef
} from '@chisel/typescript/processor';

// Exports of '@chisel/typescript/scraper'
import {
  Scraper,
  ScraperDefinition,
  TargetDefinition,
  RequestMethod,
  ResponseType,
  Response,
  NextScrapers,
  Session,
  Main,
  MainFunction,
  ScraperAPI,
  DatabaseRef,
  TreeRef,
  PathRef,
  Logger,
  Colors,
  MicrosetRef
} from '@chisel/typescript/scraper';

// Exports of `@chisel/typescripts/analyzer`
import {
  Analyzer,
  AnalyzerDefinition,
  Main,
  MainFunction,
  AnalyzerAPI,
  DatabaseRef,
  TreeRef,
  PathRef,
  DataRef,
  ReportRef,
  SectionRef,
  ChartRef,
  ChartDatasetRef,
  LabelRef,
  TableRef,
  ChartType,
  Logger,
  Colors,
  MicrosetRef,
  QueryPredicates,
  QueryPredicateFactory,
  QueryPredicateFunction,
  QueryResult,
  Utility,
  DoneFunction,
  EnrichedNameData
} from '@chisel/typescript/analyzer'

Transpilation

tsc --build ./tsconfig.json