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

@nuskin/ns-aem

v3.34.443

Published

Nu Skin Javascript Library

Downloads

228

Readme

Steps to build and run locally

  • Install yarn -- https://classic.yarnpkg.com/en/docs/install/#mac-stable
  • cd webcomponents-ui/src/main/content/webcomponents/js/packages/aem
  • yarn install
  • yarn build
    • If you get the following error when you do a yarn build then add this to your environment variables in your bash shell
      • export NODE_OPTIONS=--max_old_space_size=4096
   <--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0xfdf1c9878a1]
Security context: 0x1b429ac1e6e9 <JSObject>
    1: byteLength(aka byteLength) [0x1b4205af9801] [buffer.js:~509] [pc=0xfdf1fe2de87](this=0x1b42d0b026f1 <undefined>,string=0x1b42b02f01e9 <Very long string[81038114]>,encoding=0x1b429ac3e981 <String[4]: utf8>)
    2: arguments adaptor frame: 3->2
    3: fromString(aka fromString) [0x1b427ff13581] [buffer.js:~334] [pc=0xfdf1cc6d950](this=0x1b42d0b026f1 <und...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: 0x10003cff5 node::Abort() [/Users/ncjarvis/.nvm/versions/node/v10.16.1/bin/node]
 2: 0x10003d1ff node::OnFatalError(char const*, char const*) [/Users/ncjarvis/.nvm/versions/node/v10.16.1/bin/node]
 3: 0x1001b8265 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/Users/ncjarvis/.nvm/versions/node/v10.16.1/bin/node]
 4: 0x1005861c2 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/Users/ncjarvis/.nvm/versions/node/v10.16.1/bin/node]
 5: 0x10058f6c4 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/Users/ncjarvis/.nvm/versions/node/v10.16.1/bin/node]
 6: 0x1005614b4 v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [/Users/ncjarvis/.nvm/versions/node/v10.16.1/bin/node]
 7: 0x100693029 v8::internal::String::SlowFlatten(v8::internal::Handle<v8::internal::ConsString>, v8::internal::PretenureFlag) [/Users/ncjarvis/.nvm/versions/node/v10.16.1/bin/node]
 8: 0x1001d5ffd v8::String::Utf8Length() const [/Users/ncjarvis/.nvm/versions/node/v10.16.1/bin/node]
 9: 0x100051057 node::Buffer::(anonymous namespace)::ByteLengthUtf8(v8::FunctionCallbackInfo<v8::Value> const&) [/Users/ncjarvis/.nvm/versions/node/v10.16.1/bin/node]
10: 0xfdf1c9878a1
error Command failed with signal "SIGABRT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
  • yarn serve -- This command takes a long time but it will eventually complete. It will seem like it is stuck at 69% or some percentage for a long while and then it will finally respond so be patient.
  • A web page will eventually popup in your browser: http://localhost:8080/
  • This url lets you access the cart: http://localhost:8080/playground/cart.html
  • This url lets you login: http://localhost:8080/playground/ns-login.html
    • Use the username: pedista
    • Use the password: Abdc1234
  • After login you will see the url: http://localhost:8080/playground/home.html
  • To order something go to http://localhost:8080/playground/cart.html and type renu in the Search field of the cart.html web page
  • Then select the product that comes up which will be ReNu Hair Mask
  • Then follow the checkout proceedure