Socket
Book a DemoInstallSign in
Socket

ban-autocomplete-react

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

ban-autocomplete-react

Autocomplete address widget that uses the French BAN database.

0.0.1-alpha2
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Base adresse nationale autocomplete vox (React)

React component to autocomplete addresses using the Base adresses nationale (BAN) API.

Requirements

This widget is written in ECMA 2015.

  • Node
  • NPM

Install

cd path/to/your/project
npm install ban-autocomplete-react

Setup

Simple script reference

<body>
  <div>
    <script src="public/bundle.js" type="text/javascript"></script>
  </div>
</body>

See an example in index.html.

Webpack

import AutocompleteBan from 'ban-autocomplete-react/client/public/bundle.js';
//If you have a div#widget-container to show the widget
render(<AutocompleteBan/>, document.getElementById('widget-container'));

See an example in index.jsx.

Development

Rebuild the component every time the sources change

npm run dev

Build the component

npm run build

Keywords

addresses

FAQs

Package last updated on 20 Apr 2016

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.