Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

popcorn-ibge

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

popcorn-ibge - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

build/index.d.ts

5

LICENCE.md

@@ -1,3 +0,2 @@

The MIT License (MIT)
Copyright (c) 2020 - Dênner Rondinely
The MIT License (MIT) Copyright (c) 2020 - Dênner Rondinely

@@ -8,2 +7,2 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

97

package.json
{
"name": "popcorn-ibge",
"version": "0.1.0",
"version": "0.2.0",
"description": "",
"main": "lib/index.js",
"main": "build/index.js",
"module": "build/index.es.js",
"jsnext:main": "build/index.es.js",
"scripts": {
"clear": "rimraf lib",
"build": "npm run clear && ./node_modules/.bin/babel --out-dir lib src",
"build:watch": "npm run build -- --watch",
"build:umd": "./node_modules/.bin/webpack --output-filename popcorn-ibge.umd.js",
"build:umd:min": "./node_modules/.bin/webpack --output-filename popcorn-ibge.umd.min.js -p",
"build:all": "npm run build && npm run build:umd && npm run build:umd:min",
"lint": "./node_modules/.bin/eslint src/*.js",
"prepush": "npm run lint",
"test": "./node_modules/.bin/mocha tests/**/*.spec.js --require babel-register",
"test:tdd": "./node_modules/.bin/mocha tests/**/*.spec.js --require babel-register --watch",
"test:coverage": "nyc npm test",
"coveralls": "npm run test:coverage && nyc report --reporter=text-lcov | coveralls",
"prepublish": "npm run build:all"
"build": "rollup -c",
"lint": "standard",
"lint:fix": "lint --fix",
"format": "prettier-standard --format",
"test": "jest --coverage"
},
"files": [
"dist",
"lib"
"build"
],
"nyc": {
"reporter": [
"text",
"html"
],
"exclude": [
"tests/**"
]
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/jest": "^26.0.3",
"jest": "^26.1.0",
"rollup": "^2.18.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-peer-deps-external": "^2.2.2",
"rollup-plugin-typescript2": "^0.27.1",
"standard": "^14.3.4",
"standard-prettier": "^1.0.1",
"ts-jest": "^26.1.1",
"typescript": "^3.9.5"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dennerrondinely/popcorn-ibge.git"
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
},
"keywords": [
"js",
"tdd",
"library"
],
"author": "Willian Justen <denner.rondinely@gmail.com> (https://dennerrondinely.com.br/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/dennerrondinely/popcorn-ibge/issues"
},
"homepage": "https://github.com/dennerrondinely/popcorn-ibge#readme",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-loader": "^7.0.0",
"babel-preset-env": "^1.3.2",
"babel-register": "^6.24.0",
"chai": "^3.5.0",
"coveralls": "^2.13.0",
"eslint": "^4.18.2",
"eslint-config-airbnb": "^12.0.0",
"eslint-plugin-import": "^2.0.1",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.4.1",
"husky": "^0.11.9",
"mocha": "^3.2.0",
"node-fetch": "^1.6.3",
"nyc": "^10.2.0",
"rimraf": "^2.6.1",
"sinon": "^6.1.3",
"sinon-chai": "^3.2.0",
"webpack": "^2.4.1"
},
"dependencies": {
"babel-polyfill": "^6.26.0"
"standard": {
"ignore": [
"node_modules/",
"build/"
]
}
}
}
# Popcorn IBGE
[![Build Status](https://travis-ci.com/dennerrondinely/popcorn-ibge.svg?branch=master)](https://travis-ci.com/dennerrondinely/popcorn-ibge)
[![Coverage Status](https://coveralls.io/repos/github/dennerrondinely/popcorn-ibge/badge.svg?branch=master)](https://coveralls.io/github/dennerrondinely/popcorn-ibge?branch=master)
![npm](https://img.shields.io/npm/dy/popcorn-ibge)

@@ -21,5 +20,5 @@ Popcorn-ibge is a javascript library created to facilitate the use of the IBGE locale api.

// to import a specific method
import PopcornIBGE from 'popcorn-ibge';
import { ufs } from 'popcorn-ibge';
const ibge = new PopcornIBGE();
const ibge = ufs();

@@ -31,3 +30,3 @@ ```

### ibge.ufs()
### ufs()

@@ -42,3 +41,3 @@ > Rewind an image by calling this method.

async function getData() {
const ufs = await ibge.ufs();
const ufs = await ufs();
console.log(ufs);

@@ -48,3 +47,3 @@ };

### ibge.municipios()
### municipios()

@@ -59,3 +58,3 @@ > Advance an image by calling this method.

async function getData() {
const municipios = await ibge.municipios('mg');
const municipios = await municipios('mg');
console.log(municipios);

@@ -62,0 +61,0 @@ };

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc