Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

grunt-pogo

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-pogo

A grunt plugin to compile your PogoScript to JavaScript

latest
npmnpm
Version
0.3.3
Version published
Maintainers
1
Created
Source

grunt-pogo Build Status npm version Dependency Status devDependency Status

PogoScript

PogoScript is a programming language that emphasises readability, is friendly to domain specific languages and compiles to regular Javascript.

It's written and maintained by featurist.

Grunt

Grunt is "The JavaScript task runner". The Grunt ecosystem is huge and it's growing every day, with literally hundreds of plugins.

Although PogoScript has it's own CLI for compilation, other transpilers have a grunt plugin, to allow developers to hook into their task pipeline.

Enter grunt-pogo

I'm not a massive fan of transpilers (understatement?) but I'd rather use PogoScript over something like CoffeeScript. Without a grunt plugin, it'd be a harder sell. Fortunately now there is one.

Getting Started

The grunt-pogo plugin requires Grunt ~0.4.x

Install as a dev dependency

npm install grunt-pogo --save-dev

Load "grunt-pogo" in your Gruntfile.js

grunt.loadNpmTasks("grunt-pogo");

The pogo task

You can run the pogo task with the grunt pogo command, or combine it with other tasks in the usual way. See configuring tasks for more info.

Basic example

pogo: {
    compile: {
        files: {
            "file.js": ["file.pogo"]
        }
    }
}

TODO

  • Expose more options for compilation via the Gruntfile.js

License

MIT License

Keywords

grunt-pogo

FAQs

Package last updated on 08 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts