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

ti-64

v2.1.6

Published

Check all Appcelerator Titanium project and/or global modules for 64-bit iOS support.

Downloads

30

Readme

Ti-64 Dependencies

Check all Appcelerator Titanium iOS modules you have installed in a project or global for 64-bit iOS support.

Apple requires new apps to include 64-bit support starting Feb 1, while updated have until June 1.

Follow these simple steps to update your own and OSS modules to support 64-bit.

screenshot

Install NPM version

As global CLI:

$ npm install -g ti-64

As module:

$ npm install ti-64 --save

Usage

CLI

Check local and global modules required in a project's tiapp.xml:

~/project $ ti-64
$ ti-64 --project-dir ~/project

Check all global modules:

$ ti-64 --global

Check all lib*.*.a files under a given path:

$ ti-64 .

Check a specific lib*.*.a file:

$ ti-64 build/libmy.module.a

Get the output as JSON:

$ ti-64 --output json

{
  "err": null,
  "res": {
    "analytics.google": {
      "name": "analytics.google",
      "has64": false,
      "versions": [
        {
          "name": "analytics.google",
          "version": "1.0",
          "path": "/path/to/analytics.google/1.0",
          "global": true,
          "architectures": [
            "armv7",
            "i386"
          ],
          "has64": false
        }
      ]
    }
  }
}

Module

var ti64 = require('ti-64');

ti64({
	projectDir: './project',
	// global: true,
	// path: './build/my.module.a'

}, function handle(err, res) {

  if (err) {
    console.error(err);

  } else {

    for (var module in res) {
      console[module.has64 ? 'log' : 'error'](module.name);

      for (var version in module.version) {
        console[version.has64 ? 'log' : 'error'](version.version + ' (' + (version.project ? 'project' : 'global') + ') ' + (version.error || version.architectures.join(' ')));
      }

    }

  }

});

Changelog

  • 2.1.0: Adds checking a given or all lib*.a files for a given path
  • 2.0.0: Adds JSON output, Groups results by module, Improves error when ran outside of project, Adds update notification
  • 1.1.0: Improved module API, Fixes #2, Fixes -g still requiring to be run in project
  • 1.0.0: Initial version