Socket
Book a DemoInstallSign in
Socket

nativescript-foaas

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-foaas

Foaas wrapper for nativescript, both really good and really bad for demos

1.0.5
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

NativeScript (FOAAS)

Nativescript wrapper for FOAAS. You can now FO with Promises!

What is Foaas?

Methods

  • off(name, from);
  • you(name, from);
  • this(from);
  • that(from);
  • everything(from);
  • everyone(from);
  • donut(name, from);
  • shakespeare(name, from);
  • linus(name, from);
  • king(name, from);
  • pink(from);
  • life(from);
  • outside(name, from);
  • thing(thing, from);
  • thanks(from);
  • flying(from);
  • fascinating(from);
  • madison(name, from);
  • cool(from); alias coolstorybro
  • field(name, from, reference);
  • nugget(name, from);
  • yoda(name, from);
  • ballmer(name, company, from);
  • what(from);
  • because(from);
  • caniuse(tool, from);
  • bye(from);
  • bus(name, from);
  • bday(name, from);
  • awesome(from);
  • tucker(from); alias comein
  • bucket(from);
  • family(from);
  • shutup(name, from);
  • keepcalm(reaction, from);
  • dosomething(blank, theThing, from);

Usage

All methods return Promises

var foaas = require("nativescript-foaas");
//Promise return
/*args: {
    message: "Cool story, bro.",
    subtitle: "- nativescript",
    combined: "Cool story, bro. - nativescript"   
}
*/

//Simple
foaas.coolstorybro("nativescript").then(function(args){
    alert(args.combined);
});

//Nested Chain
foaas.coolstorybro("nativescript").then(function(args){
    //Alert Message
    alert(args.message).then(function(){
        //Call the next once it's closed
        foaas.bye("nativescript").then(function(args){
            alert(args.combined); 
        });        
    });
});

Notes

Left out a few of the very offensive ones...

Keywords

NativeScript

FAQs

Package last updated on 26 Feb 2016

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.