Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mobilehero-archive/titanium-polyfill

⭐ Axway Amplify native polyfills necessary to use Node.js modules for Appcelerator Titanium SDK
https://github.com/mobilehero-archive/titanium-polyfill

alloy amplify android api-builder appcelerator appcelerator-titanium axway axway-amplify axway-sdk brenton-house ios mobile nodejs rollup titanium titanium-sdk titanium-turbo turbo

Last synced: about 1 month ago
JSON representation

⭐ Axway Amplify native polyfills necessary to use Node.js modules for Appcelerator Titanium SDK

Awesome Lists containing this project

README

        

[//]: # (header-start)



Preparing for end of Axway



πŸ‘‡ Β  support for Amplify Cloud and Mobile Β  πŸ‘‡



RIP Axway Amplify Titanium (2010 - 2022)





πŸͺ¦ Β  RIP Axway Amplify Titanium (2010 - 2022)




πŸͺ¦ Β  RIP Axway Amplify Cloud Services (2012 - 2022)




πŸͺ¦ Β  RIP Axway Amplify Crash Analytics (2015 - 2022)




πŸ›‘ Β Β  Axway support for Amplify products has ended for most products related to mobile and cloud.


A few of the open-source versions of Axway Amplify products will live on after Axway Amplify End-of-Life (EOL) announcements. However, all closed-source projects and most open-source projects are now dead.

Β 

> πŸ‘‰ Β Β  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:

* [API Best Practices](https://brenton.house)
* [What is API Security?](https://brenton.house/what-is-api-security-5ca8117d4911)
* [OWASP Top 10 List for API Security](https://www.youtube.com/watch?v=GLVHDj0Cpg4)
* [What is API Security?](https://brenton.house/what-is-api-security-5ca8117d4911)
* [Top API Trends for 2022](https://brenton.house/top-10-api-integration-trends-for-2022-49b05f2ef299)
* [What is a Frankenstein API?](https://brenton.house/what-is-a-frankenstein-api-4d6e59fca6)
* [What is a Zombie API?](https://brenton.house/what-is-a-zombie-api-6e5427c39b6a)
* [API Developer Experience](https://brenton.house/keys-to-winning-with-an-awesome-api-developer-experience-62dd2fa668f4)
* [API Cybersecurity 101](https://brenton.house/what-is-api-security-5ca8117d4911)
* [YouTube API Videos](https://youtube.com/brentonhouse)
* [YouTube API Shorts Videos](https://youtube.com/apishorts)

Β 

[![Click to watch on Youtube](https://img.youtube.com/vi/GLVHDj0Cpg4/0.jpg)](https://www.youtube.com/watch?v=GLVHDj0Cpg4&list=PLsy9MwYlG1pew6sktCAIFD5tbrXy9HUQ7 "Click to watch on YouTube")

> Β  [↑ Watch video on YouTube ↑](https://www.youtube.com/watch?v=GLVHDj0Cpg4&list=PLsy9MwYlG1pew6sktCAIFD5tbrXy9HUQ7)

Β 

Β 



Β 


Β 

[//]: # (header-end)

# @titanium/polyfill

[![@titanium/polyfill](https://img.shields.io/npm/v/@titanium/polyfill.png)](https://www.npmjs.com/package/@titanium/polyfill)
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=brentonhouse/titanium-polyfill)](https://dependabot.com)

> Titanium native mobile polyfills for some Node.js core and global modules

## πŸ“ Description

For use with requesting data on the internet with Titanium Native mobile apps

## ✨ Features

### Polyfills added by Titanium Core

* [X] Polyfill for Node.js `assert`
* [X] Polyfill for Node.js `events`
* [X] Polyfill for Node.js `fs`
* [X] Polyfill for Node.js `os`
* [X] Polyfill for Node.js `process`
* [X] Polyfill for Node.js `string_decoder`
* [X] Polyfill for Node.js `tty`
* [X] Polyfill for Node.js `util`

### Polyfills added by Titanium Core (but having compatibility issues)

* [X] Polyfill for Node.js `buffer` **- Does not work with packages expecting Node.js buffer**
* [X] Polyfill for Node.js `path` **- Some functions not working**

### Polyfills added by @titanium/polyfill package

* [X] Polyfill for Node.js `events` - Uses eventemitter2 for extra features
* [X] Polyfill for Node.js `buffer`
* [X] Polyfill for Node.js `querystring`
* [X] Polyfill for Node.js `crypto`
* [ ] Polyfill for Node.js `http`
* [ ] Polyfill for Node.js `https`
* [X] Polyfill for Node.js `punycode`
* [X] Polyfill for Node.js `URL` [whatwg-url v8.4.0]
* [X] Polyfill for Node.js `path`

## πŸš€ Getting Started

### Installing

> Please ensure there is a package.json file in the target directory. If there is not one present, you can create one with `npm init`.

If you wish to install this in an app using Titanium Turbo, you can execute this in the project root directory:

```bash
npm install @titanium/polyfill
```

### Usage

```javascript
const buffer = require('assert');
const buffer = require('buffer');
const crypto = require('crypto');
const events = require('events');
const querystring = require('querystring');
const path = require('path');
const path = require('punycode');

require('URL'); // This is a global variable in Node.js
```

## πŸ”— Related Links

⭐ [Titanium Turbo](https://www.npmjs.com/package/@titanium/turbo) - Variation of **`Titanium Alloy`** that adds some enhancements and customizations for rapid development.
⭐ [Geek Mobile Toolkit](https://www.npmjs.com/package/@geek/mobile) - Toolkit for creating, building, and managing mobile app projects.
⭐ [Titanium Turbo Template (Default)](https://www.npmjs.com/package/@titanium/template-turbo-default) - Template for default Turbo app. Based on the basic Alloy Template + some extra goodies.
⭐ [Titanium Turbo Template (Next)](https://www.npmjs.com/package/@titanium/template-turbo-next) - Template for Turbo app (with extras). Based on the default Turbo Template + some extras.
⭐ [Titanium Turbo Template (Fully Loaded)](https://www.npmjs.com/package/@titanium/template-turbo-fully-loaded) - Template for Turbo app (with all the bells and whistles). Based on the Turbo Template (Next) + some extras.
⭐ [Titanium Alloy Template (Basic)](https://www.npmjs.com/package/@titanium/template-alloy-basic) - Basic Alloy app. What you get when creating new app project with Titanium CLI.
⭐ [Titanium Mobile](https://www.npmjs.com/package/titanium) - Open-source tool for building powerful, cross-platform native apps with JavaScript.
⭐ [Alloy](https://www.npmjs.com/package/alloy) - MVC framework built on top of Titanium Mobile.
⭐ [Appcelerator](https://www.npmjs.com/package/appcelerator) - Installer for the Appcelerator Platform tool

## πŸ“šLearn More

⭐ [Axway Developer Blog](https://devblog.axway.com)
⭐ [Axway Developer YouTube Channel](https://youtube.com/axwaydev)
⭐ [Axway Developer Portal](https://developer.axway.com)

## πŸ“£ Feedback

Have an idea or a comment? [Join in the conversation here](https://github.com/brentonhouse/titanium-polyfill/issues)!