UNPKG

nbs-reader

Version:

This package is a library that processes Note Block Studio nbs files in Note.js.

30 lines (20 loc) 1.12 kB
# nbs-reader 이 패키지는 [Note Block Studio](https://github.com/furenjich/nbs-reader/blob/main/README/link-to-nbs.md)의 출력 파일 (.nbs)을 [Node.js](https://nodejs.org/ja/)에서 쉽게 사용하기위한 라이브러리입니다. # 설치 방법 ## npm을 사용하는 경우 소스 코드 폴더에서``npm install nbs-reader`` 을 실행하십시오. ## JS 파일을 설치하는 경우 리포지터리에있는``nbsreader.min.js``을 소스 코드와 같은 폴더에 설치하십시오. # 사용 방법 [``require``](https://nodejs.org/api/modules.html#modules_require_id) 등을 사용하여로드합니다. > **예** > npm을 사용하여 설치 한 경우 > ``const NBSReader = require("nbs-reader");`` > JS 파일을 설치 한 경우 > ``const NBSReader = require("./ nbsreader.min.js");`` 그리고 NBSReader 함수 (위의 예에서 가져온 경우)를 실행합니다. **인수는 가져 오려는 nbs 파일의 경로를 입력하십시오.** # 라이센스 이 저장소의 라이센스는 [**MIT 라이센스**](https://github.com/furenjich/nbs-reader/blob/main/LICENSE)입니다.