notion-sdk-js
prettier
Our great sponsors
notion-sdk-js | prettier | |
---|---|---|
22 | 431 | |
4,515 | 47,979 | |
2.7% | 0.6% | |
6.6 | 9.8 | |
8 days ago | 4 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
notion-sdk-js
- Show HN: Pages CMS – A CMS for GitHub
-
Convert HTML To Notion Blocks
Here is an example of how to create a new page in your Notion workspace with the blocks converted from the original HTML. We use the @notionhq/client library and you'll need to have a valid Notion API key and database ID:
-
I created an open source library (notion-on-next) that makes building a Notion-powered Next.js App super easy. It automatically generates types and scaffolds your app to match your database properties!
Provides data fetching functions that add some utility to the notion-sdk
-
Helping Your Users Write Simpler API Calls With "api" ✍️
Thousands of great APIs run their developer hubs on ReadMe, where our customers are already documenting every little detail about their API using the OpenAPI Specification. This got us thinking: “the OpenAPI Specification already provides a ton of valuable information about an API, what if we use this to generate an SDK that’s as good as Notion’s JavaScript SDK”?
- Why Would Anyone Need JavaScript Generator Functions?
-
Does a Notion extension exist that will populate a Notion table with my Reddit submissions like this?
Here are the links if you need them JavaScript https://github.com/makenotion/notion-sdk-js
-
NotionPyMail - Triggers Email when value in database is changed
Hey, I created a Notion automation in Python that sends an Email to a given recipient when the value of a select property in a Notion database is changed. To send the Email, the SendGrid API is used. I inspired myself at the official Notion node.js implementation.
-
Understanding SEO and Web Vitals for your NextJS site and how to improve them?
Go To Documentation
-
Creating a NextJS blog in typescript using Notion API
When using the notion API in typescript, you’ll find it difficult to use the typing provided as notion auto-generates the typing which leads to a large union of types aggregated in a few types. This poses a problem when you want a type definition for a specific property or block type. You don’t have a type defined for them as those definitions are part of very large union (which isn’t easily readable either). This is not ergonomic to work with. You can learn more about this issue here.
-
How to build a slack birthday bot
notion
prettier
-
Angular 14 + Prettier + Husky Setup
What is Prettier 😎?
-
🎆 THE BEST AND MOST USEFUL VSCODE EXTENSIONS 🎆
In this Thread, I won't show you little extensions that you probably already know, like Live Server or Prettier.
-
Why is Prettier rock solid?
1.1k isn't bad for a project with ~33 million weekly downloads[1], imo. Yes, I know that's not necessarily a good metric, but it's ~10 million more than React[2] which also has a similar number of open issues[3].
[1]: https://www.npmjs.com/package/prettier
Actually that comment derives onto this other issue, where the merits of the decision are discussed:
https://github.com/prettier/prettier/issues/15956
and to be honest, it didn't look like silly to me :) It was an interesting read for me, who as a maintainer, I tend to give more importance to the official statements such as in this case written recommendations of the source company that defined the new format.
Another example: https://github.com/prettier/prettier/issues/187
That issue has been open for 7 years.
For example, the latest Prettier makes XHTML files invalid by changing DOCTYPE to lowercase:
https://github.com/prettier/prettier/issues/15476
Prettier moves ts-ignore comments which can cause TypeScript errors:
https://github.com/prettier/prettier/issues/15876
Interpreting nested CSS functions' "-" as minus and inserting a space:
How can a person that introduces breaking changes in patch release and then just says everyone to piss off when facing critics (just because mister "has needs for this": https://github.com/prettier/prettier/issues/15553#issuecomme...) be a maintainer of such a widespread tool ?
Interestingly, prettier just made a breaking change in a patch release and refused to undo it for a week or so, until a particularly silly pedantic argument won them over.
https://github.com/prettier/prettier/issues/15942
My only bad experience with prettier, besides the incredible slowness (orders of magnitude slower than ruff)
- How to create a good README.md file
What are some alternatives?
black - The uncompromising Python code formatter
JS-Beautifier - Beautifier for javascript
dprint - Pluggable and configurable code formatting platform written in Rust.
ESLint - Find and fix problems in your JavaScript code.
prettier-plugin-organize-imports - Make Prettier organize your imports using the TypeScript language service API.
Standard - 🌟 JavaScript Style Guide, with linter & automatic code fixer
JSHint - JSHint is a tool that helps to detect errors and potential problems in your JavaScript code
pretty-quick - ⚡ Get Pretty Quick
markdownlint-cli - MarkdownLint Command Line Interface
intellij-rainbow-brackets - 🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio/Fleet
spotless - Keep your code spotless
husky - Git hooks made easy 🐶 woof!