Skip to content
This repository was archived by the owner on May 16, 2025. It is now read-only.

Wolfchamane/am-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

am-tools

Provides different development tools

NPM

Installation

$ npm i --save am-tools

Data tools

String

Common shared/used methods for manipulating String values.

// ES6 file
import { leftPad, capitalize, camelize } from 'am-tools/src/string';

console.log(leftPad('2')); // '02'
console.log(capitalize('hello')); // 'Hello'
console.log(camelize('hello-world')); // 'helloWorld'

Package tools

Testing

Runs tests with Jest, Babel and Instanbul.

Add into package.json:

{
    "scripts": "NODE_ENV=testing node node_modules/am-tools/scripts/test.js --no-cache"
}

Run:

$ npm run test

About

Provides development tools

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors