Naughty Pterodactyl Maid

    zep-script
    TypeScript icon, indicating that this package has built-in type declarations

    0.9.0 • Public • Published

    ZEP Script

    Development support for ZEP Script.

    Installation

    Initialize a new ZEP Script project

    npx zep-script init MyZepApp

    Add to existing ZEP Script project

    yarn add zep-script --dev
    # or
    npm install zep-script --save-dev

    Usage

    Using CLI

    You can use useful command line interface provided by this package.

    See usage of the CLI in here.

    TypeScript support

    You can use TypeScript type definitions provided by this package.

    Add following at the top of your main.ts file:

    import 'zep-script';

    Then you will be able to use ZEP Script's namespaces in global scope.

    import 'zep-script';
    
    ScriptApp.showCenterLabel("Hello world");

    Transpiling

    As some APIs of ZEP Script conflicts with TypeScript's namespaces, you need to use babel to transpile your code.

    Add plugin to your babel config:

    module.exports = {
      // ...
      plugins: [
        // ...
        '@zep.us/zep-script',
      ],
    };

    ZEP Script API Documentation

    Refer to official documentation page:

    Keywords

    none

    Install

    npm i zep-script

    DownloadsWeekly Downloads

    20

    Version

    0.9.0

    License

    MIT

    Unpacked Size

    21.2 kB

    Total Files

    10

    Last publish

    Collaborators

    • wjaykim
    • zepdevelopers