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

@grams-dev/core

v0.0.10

Published

The core of Grams. Contains the essential features that build Grams.

Downloads

22

Readme

@grams-dev/core

Welcome to the @grams-dev/core package — your comprehensive toolkit tailored for the Grams ecosystem. This package houses essential modules, making it effortless to fuel cross-platform applications with unmatched efficiency.

Prerequisites

Before diving in, ensure you have the following tools installed:

  • Python <3.11
  • Yarn: Install via npm install -g yarn
  • Visual C++ Build Tools: Essential for crafting native modules. Download here.
  • Rust & Cargo: These are vital for certain cryptographic functionalities offered by IOTA. Here's an installation guide.

For Windows users, remember to also install LLVM. It's also likely you'll need to configure an environment variable RUSTFLAGS with the value -C target-feature=+crt-static.

Bindings

Venture into the bindings directory for nuanced implementations.

  • Node.js: Seamlessly infuse core functionalities into Node.js applications.
  • WebAssembly (Wasm): Paves the way for high-performance execution in web-native environments.

Which bindings to choose?

With @grams-dev/core, we offer dedicated bindings to cater to various platforms. Understanding the differences between Wasm and Node.js bindings can be crucial:

| | Wasm bindings | Node.js bindings | |:--------------|:-----------------:|:---------------------:| | Environment | Node.js, browsers | Node.js | | Installation | - | Rust, Cargo required* | | Performance | ✔️ | ✔️✔️ | | Ledger Nano | ❌ | ✔️ | | Rocksdb | ❌ | ✔️ | | Stronghold | ❌ | ✔️ |

tl;dr: Opt for Node.js bindings whenever feasible, especially in server environments. On the other hand, Wasm bindings offer portability, making them suitable for browser environments.

Installation

Add the core package to your project via npm:

npm install @grams-dev/core

Or with yarn:

yarn add @grams-dev/core

Usage

Incorporate and utilize specific modules based on your project's needs:

import { Profile } from '@grams-dev/core';
import { Wallet } from '@grams-dev/core';

Documentation

For an in-depth understanding, head over to the Grams Wiki.

Contributing and Support

Encounter a bug? Have a feature in mind? Want to contribute? Or simply have a question? Check our GitHub repository or connect with our vibrant community.

License

@grams-dev/core operates under the Apache-2.0 License. For specifics, see the LICENSE file.