Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
nativescript-master-technology-updated
Advanced tools
Readme
A library of generic functions that are useful in NativeScript
This is released under the MIT License, meaning you are free to include this in any type of program -- However for entities that need a support contract, changes, enhancements and/or a commercial license please contact me at http://nativescript.tools.
I also do contract work; so if you have a module you want built for NativeScript (or any other software projects) feel free to contact me nathan@master-technology.com.
Please feel free to fork this repo and add other utility functions!!!
Supports all NativeScript versions from 2.x till 5.x
tns plugin add nativescript-master-technology-updated
The first release of this library had a ton of DOM routines, these have been moved to there own plugin called 'nativescript-dom'
To use the module you must first require()
it:
require( "nativescript-master-technology-updated" );
All routines are global; you do not need to keep a reference to the library.
If you get TypeScript complaining about process not being defined, then put /// <reference path="./node_modules/nativescript-master-technology-updated/references.d.ts" />
in your references.d.ts
.
Push this task off to the next available time slice.
Clears an timer scheduled via setImmediate...
Returns the current time stamp in NS or MS (depends on the platform)
IOS will tell the user they need to restart; and then exit. (Apple doesn't appear to have any "restart" app ability) Android will quit and restart the app.
Exit the application
Detects if you are running the debug version of the code on Android, on ios it returns Process.isEmulator()
Detects if you are running on an emulator
A Syncronous method to cause IOS & Android to handle their message loops.
Prints out all the keys in the object
Optionally: You can pass true
as second argument to also print the value:
var data = {
id: 1,
name: 'Nathan'
};
console.keys(data, true);
// id: 1
// name: Nathan
Renamed Performance.now to performance.now -- not sure why I messed up the name in the first place; but the proper name for compatibility sake is "performance.now()"...
FAQs
A Simple NativeScript Utility Library
The npm package nativescript-master-technology-updated receives a total of 0 weekly downloads. As such, nativescript-master-technology-updated popularity was classified as not popular.
We found that nativescript-master-technology-updated demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.