1.1.2 • Published 2 years ago

@codraft/core v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Codraft/core

@codraft/canvas로 작성한 코드를 실행하세요. 브라우저와 Node.js 모든 환경에서 작동합니다.

설치

npm install @codraft/core

Node.js

import { Runner } from '@codraft/core'

Browser (umd)

<script src="https://cdn.jsdelivr.net/npm/@codraft/core@latest/dist/umd/index.min.js"></script>
const { Runner } = Codraft

Browser (esnext)

import { Runner } from 'https://cdn.jsdelivr.net/npm/@codraft/core@latest/dist/esm/index.min.js'

사용법

@codraft/core을 실행하기 위해선 두 가지 정보가 필요합니다.

명령어

사용된 모든 명령어가 필요합니다.

저장 데이터

@codraft/canvas에서 save 함수로 얻어올 수 있습니다.

import { Runner } from '@codraft/core'

const runner = new Runner(eventCommands, conditionCommands, actionCommands, saveData)

runner.init() // 코드를 실행합니다.
1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.0-alpha.0

2 years ago

1.0.5-alpha.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.0-alpha.6

2 years ago

1.0.0-alpha.5

2 years ago

1.0.0-alpha.4

2 years ago

1.0.0-alpha.3

2 years ago

1.0.0-alpha.2

2 years ago

1.0.0-alpha.1

2 years ago

1.0.0-alpha.0

2 years ago