
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
typescript-angular-utilities
Advanced tools
Contains a list of reusable TypeScript libraries, services, and general utilities. These are all defined as angular services and can be injected via the angular dependency injector.
Angular directives that are applied as attributes to an element in order to modify the element's behavior.
Contains Angular filters, which can be applied to bindings using the Angular pipe operator <span>{{myMoney | currency}}</span>
Contains a generic filter interface IFilter
Contains miscellaneous tools and utilities for working with objects and other useful tasks.
import { services } from 'typescript-angular-utilities';
import objectNamespace = services.object;
export class MyController {
static $inject: string[] = [objectNamespace.serviceName];
constructor(private objectService: objectNamespace.IObjectUtility): void {
}
...
private testForEmpty(): boolean {
return this.objectService.isNullOrEmpty(this.someValue);
}
}
angular.module('moduleName', [objectNamespace.moduleName])
.controller('controllerName', MyController);
Clone the repository into your working directory.
Node must be installed.
Install the karma client:
npm install karma -g
Install the typescript compiler:
npm install typescript -g
Navigate to the root of the repo in a cmd prompt and run:
npm run update
Please always test new builds to ensure non-breaking commits and PRs
To build: npm run build
To test: npm test
To debug tests: npm run test.debug
To run tests against additional browsers: npm run test.full
FAQs
Typescript utility classes published as angular services
The npm package typescript-angular-utilities receives a total of 11 weekly downloads. As such, typescript-angular-utilities popularity was classified as not popular.
We found that typescript-angular-utilities demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.