@titanium/sdk-manager
v1.0.47
Published
⭐ Axway Amplify module for managing and installing SDK for Appcelerator Titanium SDK Framework
Downloads
63
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:
- API Best Practices
- What is API Security?
- OWASP Top 10 List for API Security
- What is API Security?
- Top API Trends for 2022
- What is a Frankenstein API?
- What is a Zombie API?
- API Developer Experience
- API Cybersecurity 101
- YouTube API Videos
- YouTube API Shorts Videos
@titanium/sdk-manager
📝 Description
Library for installing Axway Titanium SDKs
Fork of https://github.com/appcelerator/titaniumlib
Install Titanium SDKs from any source.
Key differences from titaniumlib
module:
- This module is focused only on managing SDKs
- Additional support for @geek/config (coming soon)
- Allow setting of repo URL for SDKs (in addition to official Axway repo)
🚀 Getting Started
Install Titanium SDK Manager
npm install @titanium/sdk-manager
Get available SDK releases
Using Official Axway Repository
sdk.getReleases()
.then(releases => {
console.log(`releases: ${JSON.stringify(releases, null, 2)}`);
})
.catch(error => {
console.error('you are here → Error occurred!');
console.error(error);
});
Get available SDK releases (Alternate Repo)
Using Alternate Repository
sdk.getReleases({ releasesUrl: 'https://brentonhouse.github.io/titanium-sdk-repo/releases.json' })
.then(releases => {
console.log(`releases: ${JSON.stringify(releases, null, 2)}`);
})
.catch(error => {
console.error('you are here → Error occurred!');
console.error(error);
});
Get available SDK branches
Using Official Axway Repository
sdk.getBranches()
.then(branches => {
console.log(`branches: ${JSON.stringify(branches, null, 2)}`);
})
.catch(error => {
console.error('you are here → Error occurred!');
console.error(error);
});
Get available SDK builds
Using Official Axway Repository
sdk.getBuilds()
.then(builds => {
console.log(`builds: ${JSON.stringify(builds, null, 2)}`);
})
.catch(error => {
console.error('you are here → Error occurred!');
console.error(error);
});
Install latest SDK release
Using Official Axway Repository
sdk.install()
.then(result => {
console.log('** SDK Installed **');
})
.catch(error => {
console.error('you are here → Error occurred!');
console.error(error);
});
Install SDK Release Candidate (RC)
Using Alternate Repository
sdk.getReleases({ releasesUrl: 'https://brentonhouse.github.io/titanium-sdk-repo/releases.json' })
.then(releases => {
console.log('** SDK Installed **');
})
.catch(error => {
console.error('you are here → Error occurred!');
console.error(error);
});
🔗 Related Links
- Titanium Mobile - Open-source tool for building powerful, cross-platform native apps with JavaScript.
- Alloy - MVC framework built on top of Titanium Mobile.
- Turbo - Variation of Titanium Alloy that adds some enhancements and customizations for rapid development.
- Appcelerator - Installer for the Appcelerator Platform tool
📚 Learn More
📣 Feedback
Have an idea or a comment? Join in the conversation here!
©️ Legal
Copyright 2014-2019 by Axway, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.