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

altizure-earth-apis

v0.2.26

Published

apis for altizure earth viewer at www.altizure.com/earth

Downloads

44

Readme

README

Altizure Earth APIs (AEA) is for developping interactive 3D earth applications.

What is this repository for?

How do I get set up?

  • Dependencies

    1. nodejs
    2. yarn v0.27.5
  • Setup

    1. Clone the repository

      git clone https://bitbucket.org/jingbo/altizure-earth-apis/

    2. Install npm modules

      cd altizure-earth-apis

      yarn

    3. Compile

      gulp release

    4. Edit source files, and generate Documentation (to .\docs\user_docs<en_US|zh_CN>\web\index.html)

      gulp docs-<enUS|zhCN>

Dependencies

Becasue npm>5.1.0 is not behaving expectedly (It updates package-lock.json file every time 'npm i' is performed.), we are switching to yarn.

  1. install yarn globally

  2. Remove package-lock.json file and node_modules folder (if there is any) under the repo directory. Note: keep the package.json file.

  3. pull from git to update the yarn.lock file.

  4. Run yarn. You will see node_modules generated.

    yarn
  • Use yarn add (--dev) to add new modules

    yarn add [email protected]
  • To update dependencies, simply run

    yarn

Setup sdk.examples

  1. Fork https://bitbucket.org/jingbo/altizure.sdk.examples/

  2. Git clone https://bitbucket.org/<YOUR_NAME>/altizure.sdk.examples/ to the same directory of this repo.

+-- parent
|   +-- altizure-earth-apis
|   +-- altizure.sdk.examples
  1. Under this repo,
cd altizure-earth-apis

create a symbolic link named sdk.examples pointing to ../altizure.sdk.examples. e.g. for linux,

ln -s ../altizure.sdk.examples/ sdk.examples
  1. Edit files in ./src or ./sdk.examples. Then use gulp build to copy the compiled altizure.js file to ./sdk.examples/build/.

  2. Setup server under ./sdk.examples. Then you can check results through browswer http://127.0.0.1:8000/examples.sdk.debug.html

python -m SimpleHTTPServer 8000
  1. To commit changes on sdk.examples, create a pull request to https://bitbucket.org/jingbo/altizure.sdk.examples/.

  2. More information please refer to https://bitbucket.org/jingbo/altizure.sdk.examples/overview

Visualize Code Structure

yarn struct

Translate en_US docs to zh_CN

  1. Make sure you have the key for google translation at /docs/COMP4901J-eff6a4fb6651.json

  2. Setup sdk.examples (see instruction above)

  3. Fork https://bitbucket.org/fengyee/translate_docs/

  4. Git clone https://bitbucket.org/<YOUR_NAME>/translate_docs/ to the same directory of this repo.

+-- parent
|   +-- altizure-earth-apis
|   +-- altizure.sdk.examples
|   +-- translate_docs
  1. Execute the bash script under the parent node
cd translate_docs && yarn && cd ../altizure-earth-apis
  1. Execute the bash script under the repo altizure-earth-apis
export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)'/docs/COMP4901J-eff6a4fb6651.json'
yarn setup-translator && yarn translate

Who do I talk to?