star0202 / neis.ts Goto Github PK
View Code? Open in Web Editor NEWTypeScript로 만들어진 NEIS Open API Wrapper
Home Page: https://npmjs.com/package/neis.ts
License: GNU Lesser General Public License v3.0
TypeScript로 만들어진 NEIS Open API Wrapper
Home Page: https://npmjs.com/package/neis.ts
License: GNU Lesser General Public License v3.0
(title)
import Neis from 'neis.ts'
import { Logger } from 'tslog'
const neis = new Neis({
key: 'API KEY',
logger: new Logger(),
})
neis
.getSchool({
ATPT_OFCDC_SC_CODE: '시도교육청코드',
SD_SCHUL_CODE: '표준학교코드',
})
.then((res) => {
console.log(res)
})
.catch((err) => {
console.error(err)
})
위 예제를 typescript 환경에서 ts-node를 사용하여 실행한 결과 다음과 같은 오류가 발생했습니다.
package.json
{
"type": "module",
"dependencies": {
"neis.ts": "^1.3.0"
},
"devDependencies": {
"@types/node": "^20.8.9",
"typescript": "^5.2.2"
}
}
tsconfig.json
{
"compilerOptions": {
"lib": ["ES6", "DOM"],
"moduleResolution": "Node",
"declaration": true,
"strict": true,
"target": "ES6",
"module": "ES6"
},
"include": ["src/index.ts"],
"ts-node": {
"esm": true
}
}
왜 이런지 알 수 있을까요?
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
).github/workflows/ci.yml
actions/checkout v4
pnpm/action-setup v2
actions/setup-node v4
actions/checkout v4
pnpm/action-setup v2
actions/setup-node v4
.github/workflows/release.yml
actions/checkout v4
pnpm/action-setup v2
actions/setup-node v4
package.json
axios ^1.3.4
@trivago/prettier-plugin-sort-imports ^4.1.1
@types/jest ^29.5.0
@types/node ^20.0.0
@typescript-eslint/eslint-plugin ^5.57.0
@typescript-eslint/parser ^5.57.0
eslint ^8.37.0
eslint-config-prettier ^8.8.0
eslint-plugin-prettier ^4.2.1
jest ^29.5.0
prettier ^2.8.7
rimraf ^5.0.0
semantic-release ^23.0.0
ts-jest ^29.1.0
ts-node ^10.9.1
typescript ^5.0.3
tslog ^4.8.2
pnpm 8.15.4
stable
branch failed. 🚨I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the stable
branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:
If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.
semantic-release cannot push the version tag to the branch stable
on the remote Git repository with URL https://x-access-token:[secure]@github.com/star0202/neis.ts
.
This can be caused by:
Good luck with your project ✨
Your semantic-release bot 📦🚀
School
의 메서드 getTimetable
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.