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 🙏

© 2026 – Pkg Stats / Ryan Hefner

trust1connector

v2.4.1

Published

The Trust1Connector library (T1C-Lib), is a javascript library to communicate with the Trust1Connector. The library simplifies the execution to the connector and works asynchronously.

Readme

Build Status Codacy Badge

Trust1Connector JavaScript Library

The Trust1Connector library (T1C-Lib), is a javascript library to communicate with the Trust1Connector. The library simplifies the execution to the connector and works asynchronously.

This is version 2 of the library, and is intended to be used with Trust1Connector v2+.

When the Trust1Connector isn’t installed the library will return an uninitialised client which can be used to download a client installer.

Backward compatibility

The library will detect the installed version of Trust1Connector and will only function with version 2.0.0 and higher.

If you have version 1.x.x installed you have two options:

  • Upgrade to version 2+ (recommended)
  • Use an older version of the library by running:
$ npm i [email protected]

(currently v1.8.3 is the latest version compatible with T1C v1)

Community

We're present on Gitter in the following room: Trust1Connector-gitter

Development

To build the library locally

yarn build-dev

This will create a GCLLib.js in the dist folder

Installation - OSX Only

Make sure you have NodeJS installed on your machine. Use of Yarn is recommended but not required.

Webpack

Webpack is needed to build the Javascript library

$ npm install --global webpack

Dependencies

Navigate to the root directory and use Yarn to download and the necessary dependencies

$ yarn
OR

Use npm install

$ npm install

Run tests

Use npm run the test suite of the project

$ npm run test

Release

Prerequisite

  • Have gren installed and add the token to your profile (https://github.com/github-tools/github-release-notes)
npm install github-release-notes
  • Have the .npmrc file

Preparation

  1. Create milestone on github with the name "Release x.y.z"
  2. Create issues with the changes assigned to the milestone and close them
  3. Create a release branch with the name "vx.y.z" with x.y.z being the version, starting from your feature branch
  4. Merge the develop branch into the release branch
  5. Increase version in package.json to x.y.z
  6. Build TypeScript and JavaScript library
  7. Finish the release branch and back-merge into develop and master
  8. Push the branches
  9. execute command "gren r -o" this will generate the changelog
  10. publish to npm

Build and package

To build the TypeScript and JavaScript library, compressed:

$ yarn build-ts
$ yarn build-prod

Publish to NPM

To publish to NPM (public!), run the following NPM command:

$ npm publish

Note: This requires the correct .npmrc to be set. See documentation here.

License

This file is part of the Trust1Team(R) sarl project.
 Copyright (c) 2014 Trust1Team sarl
 Authors: Trust1Team development

 
This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU Affero General Public License version 3
 as published by the Free Software Foundation with the addition of the
 following permission added to Section 15 as permitted in Section 7(a):
 FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY Trust1T,
 Trust1T DISCLAIMS THE WARRANTY OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.

 This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.
 See the GNU Affero General Public License for more details.
 You should have received a copy of the GNU Affero General Public License
 along with this program; if not, see http://www.gnu.org/licenses or write to
 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 Boston, MA, 02110-1301 USA.

 The interactive user interfaces in modified source and object code versions
 of this program must display Appropriate Legal Notices, as required under
 Section 5 of the GNU Affero General Public License.

 
You can be released from the requirements of the Affero General Public License
 by purchasing
 a commercial license. Buying such a license is mandatory if you wish to develop commercial activities involving the Trust1T software without
 disclosing the source code of your own applications.
 Examples of such activities include: offering paid services to customers as an ASP,
 Signing PDFs on the fly in a web application, shipping OCS with a closed
 source product...
Irrespective of your choice of license, the T1T logo as depicted below may not be removed from this file, or from any software or other product or service to which it is applied, without the express prior written permission of Trust1Team sarl. The T1T logo is an EU Registered Trademark (n° 12943131).