All Projects → nitayneeman → Schematics Utilities

nitayneeman / Schematics Utilities

Licence: mit
🛠️ Useful exported utilities for working with Schematics

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Schematics Utilities

Utils
A collection of useful PHP functions, mini classes and snippets that you need and can use every day.
Stars: ✭ 750 (+927.4%)
Mutual labels:  utility, utilities, utils
bat
Battery management utility for Linux laptops.
Stars: ✭ 107 (+46.58%)
Mutual labels:  utility, utilities, utils
timestampy
🕒 Bunch of utilities useful when working with UNIX timestamps
Stars: ✭ 21 (-71.23%)
Mutual labels:  utility, utilities, utils
go-tools
A utility tool library of Golang.
Stars: ✭ 44 (-39.73%)
Mutual labels:  utility, utils, util
Pydu
Useful data structures and utils for Python
Stars: ✭ 315 (+331.51%)
Mutual labels:  utils, util
proxy-pants
Secured and reliable Proxy based utilities for more or less common tasks.
Stars: ✭ 36 (-50.68%)
Mutual labels:  utility, utilities
Haxor News
Browse Hacker News like a haxor: A Hacker News command line interface (CLI).
Stars: ✭ 3,342 (+4478.08%)
Mutual labels:  utility, utilities
Tailwind
🔥 A schematic that adds Tailwind CSS to Angular applications
Stars: ✭ 398 (+445.21%)
Mutual labels:  schematics, utils
Superutils
The utils Project
Stars: ✭ 325 (+345.21%)
Mutual labels:  utils, util
Lodash Php
Easy to use utility functions for everyday PHP projects. This is a port of the Lodash JS library to PHP
Stars: ✭ 412 (+464.38%)
Mutual labels:  utility, utilities
Ethereumjs Util
Project is in active development and has been moved to the EthereumJS monorepo.
Stars: ✭ 534 (+631.51%)
Mutual labels:  utilities, utils
Ramda Adjunct
Ramda Adjunct is the most popular and most comprehensive set of functional utilities for use with Ramda, providing a variety of useful, well tested functions with excellent documentation.
Stars: ✭ 550 (+653.42%)
Mutual labels:  utilities, utils
action-sync-node-meta
GitHub Action that syncs package.json with the repository metadata.
Stars: ✭ 25 (-65.75%)
Mutual labels:  utility, util
arr-flatten
Recursively flatten an array or arrays. This is the fastest implementation of array flatten.
Stars: ✭ 55 (-24.66%)
Mutual labels:  utility, util
purescript-ffi-utils
A utility library for the purescript foreign function interface
Stars: ✭ 22 (-69.86%)
Mutual labels:  utilities, utils
Utils Everywhere
整理并收集各种常用的覆盖面广的工具类
Stars: ✭ 329 (+350.68%)
Mutual labels:  utils, util
Dialogutil
common used dialog with material style ( in support v7),ios style,get top activity automatically, invoke everywhere (any thread , any window)
Stars: ✭ 948 (+1198.63%)
Mutual labels:  utils, util
type-predicates
A comprehensive collection of type-guards, type assertions and related utils
Stars: ✭ 44 (-39.73%)
Mutual labels:  utilities, utils
vmutils
cross platform library to manipulate and extract information of memory regions
Stars: ✭ 22 (-69.86%)
Mutual labels:  utility, utilities
Saws
A supercharged AWS command line interface (CLI).
Stars: ✭ 4,886 (+6593.15%)
Mutual labels:  utility, utilities

Puppeteer Logo

Schematics Utilities

npm Docs Downloads License

Installation · Usage · Disclaimer

ℹ️️ Description

At the moment, none of the utilities from the Angular Schematics package are exported.

This project was created from that purpose - providing a collection of general and useful utilities for Schematics, based on non-exported existing utilities and further.

You might use this project as a polyfill until these utilities will be exported officially by the relevant teams (and then just replace the path you import). However, consider sticking with this project for additional and unique utilities which are planned for the future.


🔧 How to Install

To Install using npm, simply do:

npm install schematics-utilities

👨🏻‍🏫 How to Use

import { Rule, Tree } from '@angular-devkit/schematics';
// 1. Import the needed utilities
import { addPackageJsonDependency, NodeDependency, NodeDependencyType } from 'schematics-utilities';

function addDependencies(host: Tree): Tree {
  const dependencies: NodeDependency[] = [{ type: NodeDependencyType.Default, version: '4.17.10', name: 'lodash-es' }];

  // 2. Just use it whenever you need :)
  dependencies.forEach(dependency => addPackageJsonDependency(host, dependency));

  return host;
}

export default function(): Rule {
  return (tree: Tree) => {
    addDependencies(tree);

    return tree;
  };
}

Check out the API docs for the available utilities.


⚠️️ Disclaimer

This repository contains code which is directly taken from:

All credits go to the respective developers! 👏


💁🏻 Contributing

This is an open source project. Any contribution would be greatly appreciated!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].