Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
preset
enum<string>

Preset Profile

Available options:
custom,
node,
node-cjs,
react,
nextjs,
library,
strictest
target
enum<string>

target

Available options:
ES5,
ES2015,
ES2016,
ES2017,
ES2018,
ES2019,
ES2020,
ES2021,
ES2022,
ES2023,
ESNext
module
enum<string>

module

Available options:
ESNext,
ES2022,
ES2020,
ES2015,
NodeNext,
Node16,
CommonJS,
AMD,
UMD,
Preserve
moduleResolution
enum<string>

moduleResolution

Available options:
Bundler,
NodeNext,
Node16,
Node,
Classic
jsx
enum<string>

jsx

Available options:
,
react-jsx,
react-jsxdev,
react,
preserve,
react-native
lib
string

lib

rootDir
string

rootDir

outDir
string

outDir

baseUrl
string

baseUrl

paths
string

paths

include
string

include

exclude
string

exclude

strict
boolean

strict — enable all strict type-checking options

noImplicitAny
boolean

noImplicitAny

strictNullChecks
boolean

strictNullChecks

strictFunctionTypes
boolean

strictFunctionTypes

strictBindCallApply
boolean

strictBindCallApply

strictPropertyInitialization
boolean

strictPropertyInitialization

noImplicitThis
boolean

noImplicitThis

alwaysStrict
boolean

alwaysStrict — emit "use strict"

noUncheckedIndexedAccess
boolean

noUncheckedIndexedAccess

noImplicitOverride
boolean

noImplicitOverride

exactOptionalPropertyTypes
boolean

exactOptionalPropertyTypes

noUnusedLocals
boolean

noUnusedLocals

noUnusedParameters
boolean

noUnusedParameters

noFallthroughCasesInSwitch
boolean

noFallthroughCasesInSwitch

noImplicitReturns
boolean

noImplicitReturns

esModuleInterop
boolean

esModuleInterop

allowSyntheticDefaultImports
boolean

allowSyntheticDefaultImports

forceConsistentCasing
boolean

forceConsistentCasingInFileNames

skipLibCheck
boolean

skipLibCheck

resolveJsonModule
boolean

resolveJsonModule

isolatedModules
boolean

isolatedModules

verbatimModuleSyntax
boolean

verbatimModuleSyntax

allowJs
boolean

allowJs

checkJs
boolean

checkJs

declaration
boolean

declaration — emit .d.ts files

declarationMap
boolean

declarationMap

sourceMap
boolean

sourceMap

noEmit
boolean

noEmit — let bundler emit files

includeComments
boolean

Include inline comments explaining each option

includeHeader
boolean

Include descriptive header comment

Response

Tool output

outputs
object
required
tool
string
required

The tool's slug, echoing the {slug} in the request path.

tool_version
string
required

Output-contract version for this tool.

credits_used
integer
required

Credits this call consumed, after any settlement refund. 0 when metering is disabled.

credits_remaining
integer | null
required

Credits left in the current monthly allowance, or null when metering is disabled.

request_id
string

Correlation id, also sent as x-request-id.