GitHub image
next
⌘K
Default Export
Named Exports
1
/
Exports
Readme

Default Export

default
Docs
Import
Tests
3
References
2
function default(options: NextServerConstructor): NextServer
Classes
1
NextServer
Docs
Import
Tests
3
References
2
class NextServer {
constructor(options: NextServerConstructor): NextServer
getRequestHandler: () => (req: any, res: any, parsedUrl?: any) => Promise<any>
setAssetPrefix: (assetPrefix: string) => void
logError: (args: [Error]) => void
render: (args: [any, any, string, any, any]) => Promise<void>
renderToHTML: (args: [any, any, string, any]) => Promise<string>
renderError: (args: [Error, any, any, string, any, boolean]) => Promise<void>
renderErrorToHTML: (args: [Error, any, any, string, any]) => Promise<string>
render404: (args: [any, any, any, boolean]) => Promise<void>
serveStatic: (args: [any, any, string, any]) => Promise<void>
prepare: () => Promise<void>
close: () => Promise<any>
}
Description
The React Framework
Install
yarn add next
Copy
Details
MIT License
54 Dependencies
Includes CLI
Native TypeScript Package
Metrics
Weekly Downloads
Keywords