
Product
A Fresh Look for the Socket Dashboard
We’ve redesigned the Socket dashboard with simpler navigation, less visual clutter, and a cleaner UI that highlights what really matters.
shiprocket-pincode-react
Advanced tools
Shiprocket Pincode React is a published NPM module that can be integrated inside any ReactJS application. It is used to fetch delivery time through shiprocket when user enters valid Pin-Code. On entering a valid Pin-Code, a GET request is made to the Shiprocket API and the useful information is extracted and result is displayed to the user.
Whenever the wrong Pincode/non serviceable PinCode is entered red border appears on the pin code input field and on entering a right pin code the delivery time is shown below the input field
This will only work for Indian Pincodes.
import Pincode from "shiprocket-pincode-react";
import React from "react";
import Pincode from "shiprocket-pincode-react";
function App() {
return (
<div className="App">
<Pincode
pickupPincode="your pickup pincode"
email="the registered email with shiprocket api service"
password="password of the registered api user"
/>
</div>
);
}
Name | Description |
---|---|
pickupPincode | Props to fetch delivery time according to your pickup location |
Props to feed registered email with shiprocket api services | |
password | Props for the password of the api user |
npm install
command.npm run build
npm link
command.test-server
directory, using cd test-server
npm install
npm link shiprocket-pincode-react
npm start
from test-server
directory to launch the test-server.npm run build
FAQs
verify pincode for shipping
The npm package shiprocket-pincode-react receives a total of 2 weekly downloads. As such, shiprocket-pincode-react popularity was classified as not popular.
We found that shiprocket-pincode-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
We’ve redesigned the Socket dashboard with simpler navigation, less visual clutter, and a cleaner UI that highlights what really matters.
Industry Insights
Terry O’Daniel, Head of Security at Amplitude, shares insights on building high-impact security teams, aligning with engineering, and why AI gives defenders a fighting chance.
Security News
MCP spec updated with structured tool output, stronger OAuth 2.1 security, resource indicators, and protocol cleanups for safer, more reliable AI workflows.