npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

nativeloop

v1.0.39

Published

⭐ Axway Amplify module for using nativeloop with Appcelerator Titanium SDK Framework

Downloads

136

Readme

👉    A group of Axway employees, ex-Axway employees, and some developers from Titanium community have created a legal org and now officially decide all matters related to future of these products.

API FAQ:

 

Click to watch on Youtube

  ↑ Watch video on YouTube ↑

 

nativeloop


nativeloop version nativeloop downloads nativeloop dependencies

const status = "Pre-Production Beta!";
const warning = "Breaking changes may be introduced before 1.0.0 release";

developer.read(warning)
	.then((⚡) => { return developer.code(⚡); })
	.then((code) => { return developer.😀 });
	.then((app) => { return users.❤️ });

{nativeloop} cli

npm version

Overview

{nativeloop} is many tools in one package:

  • a command line (cli) tool for creating and working with existing {nativeloop} mobile applications
  • a compile-time library for creating awesome mobile apps
  • a run-time library for enhancing mobile apps
  • an Appcelerator Titanium Alloy widget for augmenting Alloy mobile apps.

:soon: Only a few of the cli commands have been implemented at this time. Feel free to test out the functionality that exists right now and stay tuned as more features are added soon!

What is {nativeloop}?

{nativeloop} is a framework for building awesome native apps using node.js style javascript. It provides developers with access to an extremely rapid development process without compromising on the delivered product.

{nativeloop} is open-source (MIT) and is built upon the open-source version of appcelerator and other open-source products. If you like what you see, contribute to this and other open-source projects!

(Really) Quick Start

Install {nativeloop} (if you have not already done this) and create new project!

npm install -g nativeloop
nativeloop create mycoolapp

Quick Start (with some options)

Install {nativeloop}

Option 1: Install Globally

This is your quickest and easiest way to get started with {nativeloop}. Installing globally will allow it to be accessed by any our your mobile projects and give you access to the command line interface (CLI). If you need to use a specific version of {nativeloop}, use Option 2 in addition to this step.

npm install -g nativeloop

Option 2: Install Locally

Just as quick and easy, but this will allow you to use a specific version of {nativeloop} for your mobile project. Simply run this in the root of your mobile project! In order to use the CLI commands, be sure to also Install Globally

npm install --save nativeloop

Option 3: Install using gitTio coming soon!

:soon: Not available yet, but coming very soon!!

Install this as a widget using gitTio (http://gitt.io). We hope to have this option available soon!

gittio install nativeloop

Setup mobile project

Create new mobile project

:book: see documentation for create for more details

	native create my-cool-app

Upgrade existing Appcelerator mobile project coming soon!

:soon: Not available yet, but coming very soon!! (you can do this manually for now by copying the alloy.jmk file that is included with this package and putting it in your app.)

	native init

Install Prerequisites/Dependencies

Our goal is to provide as much automation as possible to make the mobile development experience as awesome as possible. Currently there are some prerequisites/dependencies that need to installed manually but we hope to automate some of these in the near future!

  • [OSX] Install latest Xcode from App Store (8.2.1 as of the time of writing)
  • Install Appcelerator Titanium and Alloy
	npm install -g alloy
	npm install -g titanium
  • [OSX] Install homebrew (optional, but highly recommended)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Install IDE of your choice (We highly recommend Microsoft Visual Studio Code, as it is free, fast and works great with {nativeloop} projects!)
  • Install Android SDK and NDK

OSX

	brew install android-sdk
	brew install android-ndk

Windows

:soon: Instructions for installing on Windows coming soon!

  • There might be a few more items to install... Stay tuned for more detailed instructions

CLI Features

  • [x] create - create a new nativeloop mobile app project
  • [x] help - display help about using nativeloop cli
  • [ ] init - initialize an existing Appcelerator Titanium project for development with nativeloop
  • [ ] doctor - check your nativeloop and environement setup to see if you are missing anything
  • [ ] build - compile your nativeloop mobile project
  • [ ] deploy - deploy your app to emulator, simulator, device, etc
  • [ ] run - run your app on emulator, simulator, device, etc
  • [ ] emulate - run your app on emulator or simulator
  • [ ] device - run your app on device
  • [ ] live - run your app on emulator, simulator, device, etc with liveview
  • [ ] icons - create any icons you might be missing
  • [ ] splash - create any launch images you might be missing
  • [ ] test - run any unit/integration tests for your nativeloop mobile project
  • [ ] test - run any unit/integration tests for your nativeloop mobile project
  • [ ] test init - configure your nativeloop mobile project for testing
  • [ ] appstore - uploads mobile app to iTunes connect

Runtime Features

  • [x] ECMAScript 2015/ES6 - enabled using nativeloop (using babel.js)

  • [x] JavaScript global objects:

    • [x] Promise - using bluebird but can be easily replaced with library of your choice
  • [x] Node.js global objects:

    • [ ] Buffer
    • [x] __dirname - enabled with Appcelerator Titanium 6.x
    • [x] __filename - enabled with Appcelerator Titanium 6.x
    • [ ] clearImmediate
    • [ ] clearInterval
    • [ ] clearTimeout
    • [x] console -- enabled with Appcelerator Titanium
    • [x] exports -- enabled with Appcelerator Titanium
    • [x] global - enabled with nativeloop
    • [x] module - enabled with Appcelerator Titanium
    • [ ] process
    • [ ] require - enabled with Appcelerator Titanium
    • [ ] setImmediate - enabled with Appcelerator Titanium
    • [ ] setInterval - enabled with Appcelerator Titanium
    • [ ] setTimeout - enabled with Appcelerator Titanium
  • [x] Node.js core modules:

    • [ ] assert
    • [ ] buffer
    • [ ] child_process
    • [ ] cluster
    • [ ] crypto
    • [ ] dgram
    • [ ] dns
    • [ ] domain
    • [ ] events
    • [x] fs (not complete coverage)
    • [ ] http
    • [ ] https
    • [ ] net
    • [ ] os coming soon!
    • [x] path
    • [ ] punycode
    • [ ] querystring coming soon!
    • [ ] readline
    • [ ] stream
    • [ ] string_decoder
    • [ ] tls
    • [ ] tty
    • [ ] url coming soon!
    • [x] util
    • [ ] v8
    • [ ] vm
    • [ ] zlib
  • [x] Workarounds for Appcelerator Titanium/Alloy issues

    • [x] Supports relative path usage to workaround (https://jira.appcelerator.org/browse/TIMOB-24170)
    • [x] Replace underscorejs the latest version of lodash https://jira.appcelerator.org/browse/ALOY-1495
    • [x] Create new apps from external templates https://jira.appcelerator.org/browse/ALOY-1498
    • [x] Use relative paths with LiveView https://jira.appcelerator.org/browse/TIMOB-24170
  • [x] Supports installation of modules for your app using [npm][]

  • [x] Does not require replacing Alloy (globally or per build of appcelerator)

  • [x] Several free {nativeloop} plugins developed by MobileHero are included and available now

  • [x] Build and use your own {nativeloop} plugins easily! (docs coming soon)

  • [x] Customize which {nativeloop} plugins run per project, platform or deployment type (dev,test,prod)!

  • [x] Works great with Appcelerator LiveView! (🎉 yay!! 🎉)

  • [x] Enhancements for Alloy xml views

    • [x] Supports for camelcase syntax in your Alloy xml views (i.e. <webView> instead of <WebView> )
    • [x] Supports lowercase-dashed syntax in your Alloy views (i.e. <web-view> instead of <WebView> )
    • [x] Extra xml attributes added to Appcelerator Alloy views. (docs coming soon)
  • [x] Enhanced UI controls!

    • [ ] `View
    • [ ] Button
    • [ ] ImageView
    • [ ] Label
    • [ ] Window
  • [x] New UI controls!

    • [ ] TopNav - coming soon!
    • [ ] BottomNav - coming soon!
    • [ ] Flex - coming soon!
    • [ ] Tile - coming soon!
  • [x] New libraries!

    • [ ] Navigator - cross-platform window navigation coming soon!
    • [ ] Please - http wrapper
    • [ ] Napi - api management
    • [ ] Bank - cache management
    • [ ] Timber - log management
    • [ ] Config - configuration management

Need Help?

Please submit an issue on GitHub and provide information about your setup.

License

Except for otherwise noted, this project is licensed under the terms of the MIT license. This means you have full access to the source code and can modify it to fit your own needs. See the license.md file.

This project uses other third party open-source tools. Please see the third-party.md file for more information and licenses.

Legal

Nativeloop is developed by Superhero Studios and the community and is Copyright (c) 2017 by Superhero Studios Incorporated. All Rights Reserved.

Superhero Studios Incorporated and this project are in no way affiliated with any of the following companies:

  • Appcelerator, Inc
  • Axway Inc
  • Apple Inc
  • Google Inc

Alloy is developed by Appcelerator and the community and is Copyright (c) 2012 by Appcelerator, Inc. All Rights Reserved.

Alloy is made available under the Apache Public License, version 2. See their license file for more information.