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

@datadayrepos/sdk_client_auth

v0.1.1-SNAPSHOT.202411141349

Published

OpenAPI client for @datadayrepos/sdk_client_auth

Downloads

457

Readme

Do not edit code in this repo

All code here is autogenerated from aby.dev/go-kit.

Build and Publish to NPM

The typescript is designed to be published as an open package to NPM.

We do this from the github TS repo, and not from the golang repo were the package is created. In Golang repo we publish the package to its own git.

We will eventually automate the build and publish step.

npm run build
npm publish --access public

Download from git

If syncing the package for the first time form github, open a new window in VSCODE, choose sync from Github. Find the apckage and sync.

Sync with local

Since the repo shall not be edited, but we use vscode locally to run the build and publish sequence, we might need to overwrite any local git version.

First, fetch the latest changes from the remote repository without merging them into your local branch. This updates your local copy of the remote branches.

git fetch origin

Replace all local code with the remote version, we can use the git reset --hard command to reset our local main branch to exactly match the origin/main branch.

git reset --hard origin/main

This command will:

Move the main branch pointer back to where origin/main is, discarding any divergent commits on your local main branch. Reset the staging area and working directory to match the state of origin/main, effectively discarding any local changes or commits that were not pushed to the remote repository.

After running the reset command, you can verify that your local branch is now in sync with the remote branch:

git status

Dataloss

There is a risk of data loss with these methods.

The git reset --hard command will discard local changes and commits that are not present on the remote branch. Ensure that there is no local work you wish to keep before running this command.

Backup: If you're unsure about discarding local changes, you can always create a backup branch before resettin

git branch backup-branch-name

This creates a new branch pointing to your current commit, allowing you to return to this state if necessary.## @datadayrepos/[email protected]

This generator creates TypeScript/JavaScript client that utilizes Fetch API. The generated Node module can be used in the following environments:

Environment

  • Node.js
  • Webpack
  • Browserify

Language level

  • ES5 - you must have a Promises/A+ library installed
  • ES6

Module system

  • CommonJS
  • ES6 module system

It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via package.json. (Reference)

Building

To build and compile the typescript sources to javascript use:

npm install
npm run build

Publishing

First build the package then run npm publish

Consuming

navigate to the folder of your consuming project and run one of the following commands.

published:

npm install @datadayrepos/[email protected] --save

unPublished (not recommended):

npm install PATH_TO_GENERATED_PACKAGE --save