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

elektron-tauon-controls

v3.0.1

Published

Contains custom controls to use for custom forms in SharePoint

Readme

Elektron Tauon Controls module

Welcome to the Elektron Tauon Controls module.
This module provides ready to go controls for elektron solutions.

There are currently 2 controls available in this module:

  • SPImagePicker: Allow you to select a file from SharePoint by opening the OOTB assets picker and return the url of the selected file.
  • SPTaxonomyPicker: Allow you to select terms from the SharePoint Taxonomy service by leveraging the OOTB taxonomy picker.

General Behavior

SPImagePicker

To use this control, import the SPImagePicker from this module: import { SPImagePicker } from 'elektron-tauon-controls';

Instanciate the control using the constructor: const spImagePicker = new SPImagePicker('container-id', 'default/folder/url'); The first parameter is the Id of the HTML element containing the control. The second parameter is optional. It allows the user to define a default location when the picker opens.

To render the control, call the Render() method like so spImagePicker.Render();.

To get the url of the selected asset, use the ImageUrl property of the control: const imageUrl = spImagePicker.ImageUrl; To set the url of the selected asset, use the SetValue('value') method of the control: spImagePicker.SetValue('/url/of/image.jpg');

SPTaxonomyPicker

To use this control, import the SPImagePicker from this module: import { SPTaxonomyPicker } from 'elektron-tauon-controls';

Instanciate the control using the constructor: const spTaxonomyPicker = new SPTaxonomyPicker('My Field Name', 'container-id', false); The first parameter is hte name of the taxonomy field you want to bind the control to. The second parameter is the Id of the HTML element containing the control. The last parameter is optional. It allows the user to define if the control allows the selection of multiple taxonomy values in the control.

To render the control, call the Render() method like so spTaxonomyPicker.Render();

To get the selected taxonomy values, use the GetTaxonomyValues() method of the control: spTaxonomyPicker.GetTaxonomyValues();. Returns an array of SPTaxonomyValues objects.

To get the label of the taxonomy values, use the GetDisplayedValues() method of the control: spTaxonomyPicker.GetDisplayedValues();. Returns an array of string with the label of the selected taxonomy values.

To set the selected taxonomy values, use the SetValues(values:SPTaxonomyValues[]) method of the control: spTaxonomyPicker.SetValues(taxonomyValues)..

SPTaxonomyValue

This class defines a wrapper to the SharePoint taxonomy values. This class has a contructor and two properties. The SharePoint taxonomy values structure is defined as followed: 'Label|Guid'; The constructor takes a string with the previous format as parameter: new SPTaxonomyValue('label|guid-of-term') The first property Label returns the associated label of the taxonomy term. The second property TermId retuns the id of the taxonomy term.

Getting Started

Tools

Having your environment ready

npm i typescript tslint -g

Installing the dependencies

npm i  

Building

npm run build

Debugging

Run this command from this repo:
npm link
(npm unlink to undo)
Create a project using the generator.
Run this command from the debugging repo:
npm link elektron-tauon-controls
(npm unlink elektron-tauon-controls to undo)

Publishing

Please refer to the following documentation

Continuous integration

Please refer to the following documentation
static analysis url.
No unit testing in place at the moment.

Contributing

Please refer to the following documentation
repo url