@splitscript.js/core
TypeScript icon, indicating that this package has built-in type declarations

2.3.6 • Public • Published

Core Splitscript.js library with event emitter and a CLI

install size downloads

docs

About

Splitscript.js is the everything framework

This package has a CLI for easily creating event listeners, and has a dev mode for adding boilerplate code automatically It also has an event emitter for creating other packages, like @splitscript.js/discord

Install

$ npm i @splitscript.js/core

Dev mode

Run splitscript dev <file/folder> to add boilerplate in new listeners in the functions folder

If a file/folder is provided, splitscript will build the files in the folder, or the folder the file is in and then run that.

If its a folder, it will default to index.ts/.js depending on the type of project, or to the "main" set in ss.json

To set the out folder, set dev in ss.json

Build

You can build a project using the command splitscript build <folder>

To set the build folder, set build in ss.json

Other packages

@splitscript.js/discord

v2.2.2 | by ultraviolet

Readme

Keywords

none

Package Sidebar

Install

npm i @splitscript.js/core

Weekly Downloads

314

Version

2.3.6

License

ISC

Unpacked Size

56.5 kB

Total Files

21

Last publish

Collaborators

  • infrareddevs