0.0.5-dev.3 • Published 1 year ago

@bicalho/utilities v0.0.5-dev.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@bicalho/utilities - É um pacote com algumas funções úteis para ser usadas em qualquer sistema

utilities nasce para centralizar métodos úteis para ser usados por todo o sistema.

Instalação

npm install @bicalho/utilities

Ou

yarn add  @bicalho/utilities

Métodos

MétodoDescrição
getJsonLê um arquivo JSON

getJson

$ touch index.js

Adicione

const {utilities} = require('@bicalho/utilities');

const pkg = utilities.getJson('package.json');
console.log(pkg);

Execute

$ node index.js

{
  name: 'testando',
  version: '1.0.0',
  main: 'index.js',
  license: 'MIT',
  dependencies: { '@bicalho/utilities': '^0.0.5-dev.1' }
}
0.0.5-dev.3

1 year ago

0.0.5-dev.2

1 year ago

0.0.5-dev.1

1 year ago