My npm packages and solutions
Here is a list of my npm packages and open source sharepoint solutions/projects:
Table of Contents
- SPFx Framework
- SharePoint Solution: Richtext webpart with reusable content and placeholder resolving
- Docker Image: SPFx Development in Docker Container
I use this package in all my SPFx projects because it makes development easier. It has many features that can be useful for SPFx development. It is so to say a framework for the framework :-)
npm i @spfxappdev/framework
Install this dev dependency packages as well:
npm i --save-dev @microsoft/sp-webpart-base @microsoft/sp-application-base @microsoft/decorators @email@example.com
With this small and simple library, you can better manage your console logging. console.log() is a very often used method that also helps you a lot in the development. But there is one problem with it. It gets easily confusing and when the application goes live, you only want to output the important messages (e.g. console.warn() or console.error()). So what can be done to clean it up? Search for console.log in the code and delete it or comment it out? That doesn't have to be the case. With this library, you have your logging better under control, like a pro.
npm i @spfxappdev/logger
This package contains some useful extensions for String and Array and some more functions that need less lines of code and make the code more readable.
npm i @spfxappdev/utility
Handle the local storage and session storage easier and determine after how many minutes the storage should be refreshed. With useful decorators :)
npm i @spfxappdev/storage
SharePoint Solution: Richtext webpart with reusable content and placeholder resolving
Docker Image: SPFx Development in Docker Container
Serve multiple SPFx/Node.js versions on one environment without installation with docker containers. Docker eliminates the need to set up a development environment.